On 2009-11-18, at 11:08:46, Philip Aker wrote:

For an arbitrary .y file, I'd like to know if it's possible to get some report detail that would tell me (when using the %glr-parser option) what was the maximum 'k' lookahead used for that grammar.

Sorry if I missed something obvious in the manual.

Actually I did. It looks like the YYLOC_DEFAULT macro might be useful (I haven't tried it yet -- just re-reading the manual). Thanks again to Hans Aberg and John Levine for their replies.

Philip Aker
echo ast...@lvpc.dslh@nl | tr a...@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.



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

Reply via email to