Changeset 1e30df7 for src/Parser/parser.yy
- Timestamp:
- Oct 18, 2022, 5:48:13 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 5408b59
- Parents:
- a55472cc
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
ra55472cc r1e30df7 2601 2601 { $$ = DeclarationNode::newEnumValueGeneric( $1, $2 ); } 2602 2602 | INLINE type_name 2603 { $$ = DeclarationNode::newEnum ValueGeneric( new string("inline"), nullptr); }2603 { $$ = DeclarationNode::newEnumInLine( *$2->type->symbolic.name ); } 2604 2604 | enumerator_list ',' identifier_or_type_name enumerator_value_opt 2605 2605 { $$ = $1->appendList( DeclarationNode::newEnumValueGeneric( $3, $4 ) ); }
Note:
See TracChangeset
for help on using the changeset viewer.