Author: thebeing
Date: Fri Apr 27 18:04:09 2012
New Revision: 7693

URL: http://svn.gna.org/viewcvs/etoile?rev=7693&view=rev
Log:
Carry the delegate around during parsing so that predicates can reduce argument
values if need be. This also means that if a match has an action assigned and
is bound to a variable that is used inside a predicate, that action is being
executed -- even if we backtrack latter!
It is therefore only safe to use actionized matches in predicates if the actions
do not have any side-effects. When we write documentation on OMeta, this needs
to be clearly reflected.

Modified:
    trunk/Etoile/Languages/ParserKit/ParserKit.st


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to