mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
5e914d3b8d
original releases were not numbered.)
26 lines
528 B
Text
26 lines
528 B
Text
PC [^\"]
|
|
AN [A-Z_a-z0-9]
|
|
%%
|
|
|
|
error_table return ERROR_TABLE;
|
|
et return ERROR_TABLE;
|
|
error_code return ERROR_CODE_ENTRY;
|
|
ec return ERROR_CODE_ENTRY;
|
|
end return END;
|
|
|
|
[\t\n ] ;
|
|
|
|
\"{PC}*\" { register char *p; yylval.dynstr = ds(yytext+1);
|
|
if (p=rindex(yylval.dynstr, '"')) *p='\0';
|
|
return QUOTED_STRING;
|
|
}
|
|
|
|
{AN}* { yylval.dynstr = ds(yytext); return STRING; }
|
|
|
|
#.*\n ;
|
|
|
|
. { return (*yytext); }
|
|
%%
|
|
#ifndef lint
|
|
static char rcsid_et_lex_lex_l[] = "$Header: et_lex.lex.l,v 1.3 87/10/31 06:28:05 raeburn Exp $";
|
|
#endif
|