At 16:06 +0000 2005/03/07, Derek M Jones wrote:
>Frank,
...
>Your grammar contained a single %merge.  I thought at
>least two are required?

I think that you should just merge together the tokens becoming
indistinguishable by your exclusion of context-information. You then get
certain reduce/reduce conflict. These can then be merged together using
%merge. If you need to keep track of the different parses somehow, encode
that in the merge function. This method, if it works, will be considerably
faster than using any more general nondeterministic parsing method that
keeps track of all the different parses without merging them.

  Hans Aberg




_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to