Changeset 92355883 for src/Parser/parser.yy
- Timestamp:
- Aug 31, 2023, 5:51:00 PM (13 months ago)
- Branches:
- master
- Children:
- 2a301ff
- Parents:
- c84dd61
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rc84dd61 r92355883 2696 2696 | ENUM '(' cfa_abstract_parameter_declaration ')' attribute_list_opt identifier attribute_list_opt 2697 2697 { 2698 if ( $3 ->storageClasses.any() || $3->type->qualifiers.val != 0) {2698 if ( $3 && ($3->storageClasses.any() || $3->type->qualifiers.val != 0 )) { 2699 2699 SemanticError( yylloc, "syntax error, storage-class and CV qualifiers are not meaningful for enumeration constants, which are const." ); 2700 2700 }
Note: See TracChangeset
for help on using the changeset viewer.