Language-specific tree nodes

Mark Mitchell mark@codesourcery.com
Tue Jan 2 10:26:00 GMT 2001


>>>>> "Peter" == Peter Gerwinski <peter@gerwinski.de> writes:

    Peter> What is the correct way to introduce language-specific tree
    Peter> nodes in the frontend without patching `tree.def'?

Per's (valid!) question aside, the way to do this is to create a
tree.def file in the Pascal subdirectory.  (For example, C++ has
cp-tree.def.)  Look at the cp source files to see how to get
cp-tree.def wired in.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc mailing list