Hello, everyone,
   I am now working on the subject "how to generate the syntax tree using Bison
for given C/C++ code". I have a grammar file in which the C grammar is defined,
however, it seems that Bison doesn't generate such a syntax tree when it is
parsing. Note that I do not want to add tree-generating code as "action for
each rule" into the bison files, since there are almost 1000 lines of grammar
rules.
    Is there any way to complement my objective?
    Thank you for reading the message and answering :)

Best regards,

Z. Chen


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

Reply via email to