aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bind-gram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bind-gram.y b/src/bind-gram.y
index 7259e5d..c751ae1 100644
--- a/src/bind-gram.y
+++ b/src/bind-gram.y
@@ -130,12 +130,12 @@ simple : BIND_IDENT vallist ';'
}
;
-block : BIND_IDENT tag '{' stmtlist '}' ';'
+block : BIND_IDENT tag '{' maybe_stmtlist '}' ';'
{
$$ = grecs_node_create(grecs_node_block, &$1.locus);
$$->ident = $1.string;
$$->v.value = $2;
- grecs_node_bind($$, $4.head, 1);
+ grecs_node_bind($$, $4, 1);
}
| BIND_CONTROLS '{' ctlsub '}' ';'
/* Special case:

Return to:

Send suggestions and report system problems to the System administrator.