> Le 30 août 2020 à 18:06, Ervin Hegedüs <airw...@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