- Timestamp:
- Aug 10, 2024, 10:26:43 AM (4 months ago)
- Branches:
- master
- Children:
- 6abb6dc
- Parents:
- af5baae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
raf5baae r2ca7fc2 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 26 14:09:30202413 // Update Count : 673 312 // Last Modified On : Sat Aug 10 09:47:05 2024 13 // Update Count : 6734 14 14 // 15 15 … … 2850 2850 2851 2851 enumerator_list: 2852 visible_hide_opt identifier_or_type_name enumerator_value_opt 2852 // empty 2853 { SemanticError( yylloc, "enumeration must have a minimum of one enumerator, empty enumerator list is meaningless." ); $$ = nullptr; } 2854 | visible_hide_opt identifier_or_type_name enumerator_value_opt 2853 2855 { $$ = DeclarationNode::newEnumValueGeneric( $2, $3 ); } 2854 2856 | INLINE type_name
Note: See TracChangeset
for help on using the changeset viewer.