diff --git a/parser.c b/parser.c index 3bd1073..10ddbdc 100644 --- a/parser.c +++ b/parser.c @@ -5708,6 +5708,8 @@ bool parser_init() if (OPTS_FLAG(UNTYPED_NIL)) util_htset(parser->htglobals, "nil", (void*)parser->nil); + parser->max_param_count = 1; + parser->const_vec[0] = ast_value_new(empty_ctx, "", TYPE_NOEXPR); parser->const_vec[1] = ast_value_new(empty_ctx, "", TYPE_NOEXPR); parser->const_vec[2] = ast_value_new(empty_ctx, "", TYPE_NOEXPR);