This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: about the interfaces of a front end
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: daizi at ustc dot edu
- Cc: "gcc" <gcc at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2004 09:43:58 -0800
- Subject: Re: about the interfaces of a front end
- References: <87n088a6p8.fsf@egil.codesourcery.com@magicmail>
"daizisheng" <daizi@ustc.edu> writes:
> i have read that several times,but i find little things.
i don't understand this sentence.
> i also have read the treelang front end. i just find that: these
> two functions of treelang are in gt-c-decl.h. the file is generated
> from c-decl.c which is not part of the treelang front end. so, if i
> do not include these c front end files in my front end, what i
> should do??
you should have your own file in which the structures lang_tree_node
and language_function are defined, yes? apply the gtype machinery to
that file.
zw