[syslog-ng]Syntax error in default config?

J. Meub syslog-ng@lists.balabit.hu
Fri, 06 May 2005 13:22:55 +0200


Balazs Scheidler schrieb:
>>>try compiling syslog-ng with YYDEBUG in CPPFLAGS and run syslog-ng with
>>>--yydebug option and send the output.
>>
>>Reading a token: Next token is token ';' ()
>>Shifting token ';', Entering state 25
>>Reading a token: Next token is token KW_DESTINATION ()
>>Shifting token KW_DESTINATION, Entering state 2
>>Reading a token: Next token is token KW_USER ()
> 
>                                        ^^^^^^^

This is what happens if i comment out the line
containing "user" so it reaches
filter f_auth { facility(auth); };

[...]
Reading a token: Next token is token ';' ()
Shifting token ';', Entering state 25
Reading a token: Next token is token KW_FILTER ()
Shifting token KW_FILTER, Entering state 5
Reading a token: Next token is token IDENTIFIER ()
Shifting token IDENTIFIER, Entering state 10
Reducing stack by rule 239 (line 819), IDENTIFIER -> string
Stack now 0 9 25 9 25 5
Entering state 21
Reading a token: Next token is token '{' ()
Shifting token '{', Entering state 66
Reading a token: Next token is token KW_FACILITY ()
Shifting token KW_FACILITY, Entering state 139
Reading a token: Next token is token '(' ()
Shifting token '(', Entering state 211
Reading a token: Next token is token KW_AUTH ()
syntax error at 6
Error: popping token '(' ()
Stack now 0 9 25 9 25 5 21 66 139
Error: popping token KW_FACILITY ()
Stack now 0 9 25 9 25 5 21 66
Error: popping token '{' ()
Stack now 0 9 25 9 25 5 21
Error: popping nterm string ()
Stack now 0 9 25 9 25 5
Error: popping token KW_FILTER ()
Stack now 0 9 25 9 25
Error: popping token ';' ()
Stack now 0 9 25 9
Error: popping nterm stmt ()
Stack now 0 9 25
Error: popping token ';' ()
Stack now 0 9
Error: popping nterm stmt ()
Stack now 0


Regards,
J. Meub