version 1.6, 2003/09/29 03:24:27 |
version 1.7, 2003/09/30 18:46:11 |
|
|
|
|
\" BEGIN(string); init_strbuf(); |
\" BEGIN(string); init_strbuf(); |
<string>{ |
<string>{ |
[^"\n]+ add_str(yytext); |
[^"\n\\\[\]]+ add_str(yytext); |
|
\[ add_str("\\["); |
|
\] add_str("\\]"); |
|
\\ add_str("\\\\"); |
\n add_str("\n"); lineno++; |
\n add_str("\n"); lineno++; |
\" BEGIN(INITIAL); yylval.str = strbuf; return STRING; |
\" BEGIN(INITIAL); yylval.str = strbuf; return STRING; |
<<EOF>> fatal("end of file in string"); |
<<EOF>> fatal("end of file in string"); |