diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-04 15:18:37 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-04 15:18:37 +0200 |
commit | 72f9fe88b24428067557a71405ee641a641bf7c4 (patch) | |
tree | db6c81f542d3bfd9abc52892d4dbe0d8c4e8775e /grammar/grammar.y | |
parent | c596f1c1b2b6df18a9209d436a8255d96f437b54 (diff) | |
download | rsyslog-72f9fe88b24428067557a71405ee641a641bf7c4.tar.gz rsyslog-72f9fe88b24428067557a71405ee641a641bf7c4.tar.xz rsyslog-72f9fe88b24428067557a71405ee641a641bf7c4.zip |
new ruleengine: v6+ action object properly constructed
Diffstat (limited to 'grammar/grammar.y')
-rw-r--r-- | grammar/grammar.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/grammar.y b/grammar/grammar.y index a9f179e0..f94cec04 100644 --- a/grammar/grammar.y +++ b/grammar/grammar.y @@ -161,7 +161,7 @@ block: stmt { $$ = $1; } | '{' script '}' { $$ = $2; } actlst: s_act { $$ = $1; } | actlst '&' s_act { $$ = scriptAddStmt($1, $3); } -s_act: BEGIN_ACTION nvlst ENDOBJ { $$ = cnfstmtNew(S_ACT); +s_act: BEGIN_ACTION nvlst ENDOBJ { $$ = cnfstmtNewAct($2); $$->printable="action()"; dbgprintf("RRRR: action object\n"); } | LEGACY_ACTION { $$ = cnfstmtNew(S_ACT); |