This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Language-specific tree nodes
- To: peter at gerwinski dot de
- Subject: Re: Language-specific tree nodes
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 02 Jan 2001 10:30:34 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010102040149.C10663@esmeralda.gerwinski.de>
>>>>> "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