This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: why there is not lex.l in gcc/cp
- From: Zack Weinberg <zack at codesourcery dot com>
- To: 石 峰 <likephoenix at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 30 Apr 2003 09:40:35 -0700
- Subject: Re: why there is not lex.l in gcc/cp
- References: <Law10-F8Ozyfyz5b6KZ000023e6@hotmail.com>
石 峰 <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