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: why there is not lex.l in gcc/cp


石 峰 <likephoenix@hotmail.com> writes:

> There is parse.y in directory of /gcc/cp, but there is not lex.l in it.
> I want to know whether gcc has a lex.l.
> If it doesn't have lex.l, is the lexical analyzer writen by hand?

The lexical analyzer is written by hand.  It is also shared with the C
front end, so you are looking for it in the wrong place.  Look at
cpplex.c.

zw


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