Fix column information for config errors.

Refs #5901
This commit is contained in:
Gunnar Beutner 2014-04-01 11:43:53 +02:00
parent 0fddb46b68
commit 2faf17cb14
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ in { yylval->op = &AExpression::OpIn; return T_IN; }
\> { yylval->op = &AExpression::OpLessThan; return T_GREATER_THAN; } \> { yylval->op = &AExpression::OpLessThan; return T_GREATER_THAN; }
} }
[\r\n]+ { if (!ignore_newlines) return T_NEWLINE; } [\r\n]+ { yycolumn -= strlen(yytext) - 1; if (!ignore_newlines) return T_NEWLINE; }
. return yytext[0]; . return yytext[0];
%% %%