We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e42c0b + a972114 commit 142d929Copy full SHA for 142d929
lib/cfg-grammar.y
@@ -799,23 +799,23 @@ log_forks
799
;
800
801
log_fork
802
- : KW_LOG optional_string '{' log_content '}'
+ : KW_LOG optional_string '{' _log_context_push log_content _log_context_pop '}'
803
{
804
if ($2)
805
806
- log_expr_node_set_name($4, $2);
+ log_expr_node_set_name($5, $2);
807
free($2);
808
}
809
- $$ = $4;
+ $$ = $5;
810
811
- | KW_CHANNEL optional_string '{' log_content '}'
+ | KW_CHANNEL optional_string '{' _log_context_push log_content _log_context_pop '}'
812
813
814
815
816
817
818
819
820
821
0 commit comments