- easier to localize the error, reported by Raul Alexis Betancor Santana (cherry picked from commit 2b680bde0605cbc1cb4840105fafc83a2a235ec5)
@@ -1202,7 +1202,10 @@ EAT_ABLE [\ \t\b\r]
<INCLF>[ \t]* /* eat the whitespace */
<INCLF>[^ \t\n]+ { /* get the include file name */
if(sr_push_yy_state(yytext)<0)
+ {
+ LOG(L_CRIT, "error at %s line %d\n", (finame)?finame:"cfg", line);
exit(-1);
+ }
BEGIN(INITIAL);
}