comparison src/lex.l @ 4923:b11223097ad4

[project @ 2004-08-02 16:33:11 by jwe]
author jwe
date Mon, 02 Aug 2004 16:33:11 +0000
parents 1242acab4246
children bdb307dc8613
comparison
equal deleted inserted replaced
4922:cee8d88cf619 4923:b11223097ad4
335 <COMMAND_START>[\"\'] { 335 <COMMAND_START>[\"\'] {
336 current_input_column++; 336 current_input_column++;
337 COUNT_TOK_AND_RETURN (handle_string (yytext[0], true)); 337 COUNT_TOK_AND_RETURN (handle_string (yytext[0], true));
338 } 338 }
339 339
340 <COMMAND_START>[^#% \t\n\;\,\"\'][^ \t\n\;\,]*{S}* { 340 <COMMAND_START>[^#% \t\r\n\;\,\"\'][^ \t\r\n\;\,]*{S}* {
341 std::string tok = strip_trailing_whitespace (yytext); 341 std::string tok = strip_trailing_whitespace (yytext);
342 TOK_PUSH_AND_RETURN (tok, STRING); 342 TOK_PUSH_AND_RETURN (tok, STRING);
343 } 343 }
344 344
345 %{ 345 %{