Fixed config parser error messages.

This commit is contained in:
Gunnar Beutner 2012-07-09 11:39:14 +02:00
parent 746d24c9a2
commit 9f56ce6c46
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ int yylex(YYSTYPE *lvalp, YYLTYPE *llocp, void *scanner);
void yyerror(YYLTYPE *locp, ConfigCompiler *context, const char *err)
{
stringstream message;
message << *locp;
message << *locp << ": " << err;
throw runtime_error(message.str());
}