summaryrefslogtreecommitdiffstats
path: root/grammar/grammar.y
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-04 15:18:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-04 15:18:37 +0200
commit72f9fe88b24428067557a71405ee641a641bf7c4 (patch)
treedb6c81f542d3bfd9abc52892d4dbe0d8c4e8775e /grammar/grammar.y
parentc596f1c1b2b6df18a9209d436a8255d96f437b54 (diff)
downloadrsyslog-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.y2
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);