diff options
Diffstat (limited to 'bnf/rust_expr.y_tree.h')
-rw-r--r-- | bnf/rust_expr.y_tree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bnf/rust_expr.y_tree.h b/bnf/rust_expr.y_tree.h index 09256f3e..c3635830 100644 --- a/bnf/rust_expr.y_tree.h +++ b/bnf/rust_expr.y_tree.h @@ -112,7 +112,10 @@ _(expr_value) #endif | '(' ')' | '(' expr ',' expr_list ')' - | '[' expr_list opt_comma ']' + | '[' ']' + | '[' expr ']' + | '[' expr ',' ']' + | '[' expr ',' expr_list_p opt_comma ']' | '[' expr ';' expr ']' | MACRO tt_paren { bnf_trace(context, "Expr macro invocation"); } | MACRO tt_square { bnf_trace(context, "Expr macro invocation"); } |