diff options
-rw-r--r-- | cparser/pre_parser.mly | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cparser/pre_parser.mly b/cparser/pre_parser.mly index 78641e58..0aa884c9 100644 --- a/cparser/pre_parser.mly +++ b/cparser/pre_parser.mly @@ -354,10 +354,14 @@ storage_class_specifier_no_typedef: (* [declaration_specifiers_no_type] matches declaration specifiers that do not contain either "typedef" nor type specifiers. *) +declaration_specifier_no_type: +| storage_class_specifier_no_typedef +| type_qualifier +| function_specifier + {} + declaration_specifiers_no_type: -| storage_class_specifier_no_typedef declaration_specifiers_no_type? -| type_qualifier declaration_specifiers_no_type? -| function_specifier declaration_specifiers_no_type? +| declaration_specifier_no_type declaration_specifiers_no_type? {} (* [declaration_specifiers_no_typedef_name] matches declaration |