On 21 Nov 2006, at 17:26, Sean Walton wrote:
I am trying to debug bison/yacc with gdb. I want to look at the
bison variable $1 -- how do i do it? What is the syntax? (It
conflicts with the print history $##.)
The $ variables are expanded to something else in the output parser.
So one w
hi,
My interactive mode Bison program (http://cs.uic.edu/~spopuri/ibison.html)
is only good to debug the structure of a grammar. It does NOT execute
semantic actions.
So, if you want to look at the value of $1, $2 etc. you must be printing
values on the semantic stack .. which is implemented as a