help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grammar for propositional logic


From: John P. Hartmann
Subject: Re: grammar for propositional logic
Date: Wed, 1 Sep 2010 09:21:39 +0200

Aha!

$undefined means that the lexer returned a character value that you
are not prepared for, that is, it is not in a rule or %token in your
grammar file.  Bison could have been a bit more cooperative by telling
you which character it is, but there you are.

Assuming the lexer is flex,  %option debug in your .l file will get
you a trace.  When you don't want to see the trace, you can set
yy_flex_debug=0 to turn it off without having to change the .l file.

   j.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]