This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: about the interfaces of a front end


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]