why there is not lex.l in gcc/cp

Zack Weinberg zack@codesourcery.com
Wed Apr 30 17:00:00 GMT 2003


石 峰 <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



More information about the Gcc mailing list