summaryrefslogtreecommitdiffstats
path: root/grammar/lexer.l
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-07-09 18:00:29 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-07-09 18:00:29 +0200
commit6ebf9ada253ffd8c88cbe84a46fd5aa3bfd58367 (patch)
tree4b527b06aaf68dc83268da51dafbe855534ad0f4 /grammar/lexer.l
parentda6489743cd31a7896f17f5500dbfd18e0560260 (diff)
downloadrsyslog-6ebf9ada253ffd8c88cbe84a46fd5aa3bfd58367.tar.gz
rsyslog-6ebf9ada253ffd8c88cbe84a46fd5aa3bfd58367.tar.xz
rsyslog-6ebf9ada253ffd8c88cbe84a46fd5aa3bfd58367.zip
milestone/[WORKS AGAIN!]: looks like the new conf format is integrated
finally completed $IncludeConfig processing.
Diffstat (limited to 'grammar/lexer.l')
-rw-r--r--grammar/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/lexer.l b/grammar/lexer.l
index 802b2d89..316b2a65 100644
--- a/grammar/lexer.l
+++ b/grammar/lexer.l
@@ -143,7 +143,7 @@ int fileno(FILE *stream);
* always the longest match :-(
*/
<INCL>.|\n
-<INCL>[^ \t\n]+ { if(cnfSetLexFile(yytext) != 0)
+<INCL>[^ \t\n]+ { if(cnfDoInclude(yytext) != 0)
yyterminate();
BEGIN INITIAL; }
"global"[ \n\t]*"(" { yylval.objType = CNFOBJ_GLOBAL;