Ignore Windows new-lines.

Fixes #3292
This commit is contained in:
Gunnar Beutner 2012-10-15 08:27:07 +02:00
parent b740628042
commit cfb07e9e2c
2 changed files with 2 additions and 2 deletions

View File

@ -394,7 +394,7 @@ static yyconst flex_int16_t yy_accept[78] =
static yyconst flex_int32_t yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 1, 4, 5, 1, 1, 1, 1, 1,
1, 6, 7, 1, 8, 9, 10, 11, 11, 11,

View File

@ -76,7 +76,7 @@ null return T_NULL;
}
\/\/[^\n]+ /* ignore C++-style comments */
[ \t\n]+ /* ignore whitespace */
[ \t\r\n]+ /* ignore whitespace */
. return yytext[0];
%%