File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -284,11 +284,13 @@ dictorsetmaker: test_colon_tests optional_comma
284
284
285
285
classdef : CLASS NAME optional_arglist_call ' :' suite
286
286
287
- comma_arguments : | comma_arguments ' ,' argument
288
- arglist : comma_arguments argument optional_comma
289
- | comma_arguments ' *' test comma_arguments
290
- | comma_arguments ' *' test comma_arguments ' ,' STARSTAR test
291
- | comma_arguments STARSTAR test
287
+ arguments : argument | arguments ' ,' argument
288
+ optional_arguments : | arguments ' ,'
289
+ arguments2 : | arguments2 ' ,' argument
290
+ arglist : arguments optional_comma
291
+ | optional_arguments ' *' test arguments2
292
+ | optional_arguments ' *' test arguments2 ' ,' STARSTAR test
293
+ | optional_arguments STARSTAR test
292
294
// The reason that keywords are test nodes instead of NAME is that using NAME
293
295
// results in an ambiguity. ast.c makes sure it ' s a NAME.
294
296
argument: test
You can’t perform that action at this time.
0 commit comments