home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_07
/
8n07060c
< prev
next >
Wrap
Text File
|
1990-06-19
|
367b
|
14 lines
.l.c:
lex $(LFLAGS) $*.l
cat lex.hdr > $*.lex.c
grep -v "^#.*line" lex.yy.c |\
sed -e 's/yylex/$*_lex/'\
-e 's/yytext/$*_text/'\
-e 's/yywrap/$*_wrap/'\
>> $*.lex.c
rm lex.yy.c
Listing 6