- Timestamp:
- Jul 15, 2019, 2:43:38 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a87d40b, e67991f
- Parents:
- ce12e2b (diff), 4f37255 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rce12e2b r7dc2e57b 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 28 17:06:37201913 // Update Count : 435 412 // Last Modified On : Sun Jul 14 07:54:30 2019 13 // Update Count : 4355 14 14 // 15 15 … … 678 678 679 679 argument_expression_list: 680 argument_expression 680 // empty 681 { $$ = nullptr; } 682 | argument_expression 681 683 | argument_expression_list ',' argument_expression 682 684 { $$ = (ExpressionNode *)( $1->set_last( $3 )); } … … 684 686 685 687 argument_expression: 686 // empty 687 { $$ = nullptr; } 688 | '@' // CFA, default parameter 688 '@' // CFA, default parameter 689 689 { SemanticError( yylloc, "Default parameter for argument is currently unimplemented." ); $$ = nullptr; } 690 690 // { $$ = new ExpressionNode( build_constantInteger( *new string( "2" ) ) ); }
Note: See TracChangeset
for help on using the changeset viewer.