bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #31691] Ellipsis not supported in nested `sxml-match' forms [1.9.13


From: Stefan Israelsson Tampe
Subject: [bug #31691] Ellipsis not supported in nested `sxml-match' forms [1.9.13]
Date: Fri, 15 Jul 2011 11:36:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101216 Linux Mint/1 (Debian) Firefox/3.6.13

Follow-up Comment #3, bug #31691 (project guile):

First, upstream doc's for sxml-match indicates that ellipsis
in the body is not allowed and then the the Bug would be moot
because the spec does not allow the example below.

On the other hand allowing the code below is a useful feature and
I have a patch that introduce this new feature. On the other hand
this means that guile code using sxml-match would not work on other platforms
with the upstream version.

Best is possible to contact Jim Bender to include this as a feature.

The solution is to allow ellipsis in the body in the following way:
if we encounter (p ... . l) then p is investigated to see if there are any
variables that comes from an ellipsis in the matcher. If we find that there
exists such variables the ellipsis will not be used for expansion paths in the
macro and it will be untouched.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31691>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]