- Timestamp:
- Jul 14, 2019, 10:33:14 AM (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:
- 1201d54
- Parents:
- c6dc7f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rc6dc7f2 r757ffed 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.