Changeset d191e24 for src/Parser/parser.yy
- Timestamp:
- Oct 19, 2022, 5:29:12 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- bc899d6
- Parents:
- 82ff4ed1 (diff), 058ece2 (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
r82ff4ed1 rd191e24 2605 2605 { $$ = DeclarationNode::newEnumValueGeneric( $1, $2 ); } 2606 2606 | INLINE type_name 2607 { $$ = DeclarationNode::newEnum ValueGeneric( new string("inline"), nullptr); }2607 { $$ = DeclarationNode::newEnumInLine( *$2->type->symbolic.name ); } 2608 2608 | enumerator_list ',' identifier_or_type_name enumerator_value_opt 2609 2609 { $$ = $1->appendList( DeclarationNode::newEnumValueGeneric( $3, $4 ) ); }
Note:
See TracChangeset
for help on using the changeset viewer.