help-bison
[Top][All Lists]
Advanced

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

Re: Question about token stack


From: Akim Demaille
Subject: Re: Question about token stack
Date: Sun, 30 Aug 2020 18:19:09 +0200


> Le 30 août 2020 à 18:06, Ervin Hegedüs <airween@gmail.com> a écrit :
> 
> the documentation shows:
> 
> https://www.gnu.org/software/bison/manual/html_node/Enabling-Traces.html
> 
> the option -t (POSIX Yacc compliant)
> 
> the option --debug (Bison extension)

Have a look at Bison's examples (e.g. 
https://github.com/akimd/bison/tree/master/examples/c/calc) and in particular:

https://github.com/akimd/bison/blob/b63e3a3352ea13074c5491e40f92b40ce0552004/examples/c/calc/calc.y#L26

https://github.com/akimd/bison/blob/b63e3a3352ea13074c5491e40f92b40ce0552004/examples/c/calc/calc.y#L100


reply via email to

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