Re: Hack AST

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

 



2008/12/1 陈笃纯 <cdc0613@xxxxxxxxx>:

> However, I cannot locate the code which creates AST. Any suggestion?

Tree fragments are created as the function is parsed.  The answer to
your question will depend on what version of GCC you're using, though.
 The C/C++ FEs have not used yacc for a while, so you are probably
using an old one.

Tree nodes are build with the build_* functions, which use
make_node_stat in the end (the details vary from version to version).


Diego.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux