At 02:14 +0000 2005/03/07, Derek M Jones wrote: >>Paul Hilfinger is thinking about actions that during a split are executed >>immediately, in addition to those delayed until the merge. This will enable >>the kinds of things that you are asking for, I think, as one then can build >>the parse trees, and make a selection based on that. > >I think the only way forward is for me to write some code, in yyparse, >to select between the various parses when an ambiguity is detected.
You must merge them at some point, but you might use %merge to keep track of the both parses using a merge-function then. (See the Bison manual, sec 1.5.2.) Hans Aberg _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison