Question about print-tree.c!!

Sean Hsiao hsiao@a.cs.okstate.edu
Fri Oct 8 08:13:00 GMT 2004


Dear Sir/Madam,

I am doing a research about Abstract Syntax Tree, and I think the 
print-tree.c file can help me. However, I have a question about this file. 
Is it possible that the print_node function can output the variable name in 
the tree? For example, if I declare a variable int abc, I would like to see 
"abc" in the tree. Is it possible? Or is there any other way can obtain the 
AST from the compiler?

Thanks for helping me!!

Sean Hsiao
Computer Science
Oklahoma State University 



More information about the Gcc mailing list