<lua>[ \t]+ /* ignore whitespace */;
<lua>[ \t]*#.* /* ignore comments */;
<lua>^.endlua$ BEGIN(INITIAL);
-<lua>.* add_luabuf(yytext);
+<lua>.* add_luabuf(yytext); return LUACODE;
%%
/*
%token LOGGING LOG_TYPE LOG_TYPE_CONSOLE LOG_TYPE_SYSLOG LOG_TYPE_FILE
%token LOG_LEVEL LOG_LEVEL_DEBUG LOG_LEVEL_INFO LOG_LEVEL_WARNING LOG_LEVEL_ERROR LOG_FACILITY LOG_FILENAME
%token STATFILE ALIAS PATTERN WEIGHT STATFILE_POOL_SIZE SIZE TOKENIZER CLASSIFIER
-%token DELIVERY LMTP ENABLED AGENT SECTION
+%token DELIVERY LMTP ENABLED AGENT SECTION LUACODE
%type <string> STRING
%type <string> VARIABLE
| statfile_pool_size
| lmtp
| delivery
+ | luacode
;
tempdir :
}
;
+luacode:
+ LUACODE
+ ;
+
%%
/*
* vi:ts=4
}
res += process_regexp (re, task);
}
- cur = g_list_next (args);
+ cur = g_list_next (cur);
}
return res >= param_count;