I'm doing a grammar for HyperTalk in bison, which has a command that looks takes a list of expressions, seperated by "or". An expression, however, can contain "or" (it's an operator). The language isn't spec'd by me, so I don't have the liberty of changing it.
Other than writing an expression-without-or copy of expression, which I assume would work [haven't tried it yet], is there a way to tell bison to reduce, not shift? Expression is rather large, so I'd prefer not to duplicate it. [cc'd to the project mailing list]
msg00810/pgp00000.pgp
Description: PGP signature