File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,8 @@ type_id = type_specifier_seq [abstract_declarator] ;
5151
5252type_specifier_seq = type_specifier [type_specifier ];
5353
54- type_specifier = [" ::" ] [nested_name_specifier ] type_name ;
55- | "char"
56- | "bool"
57- | "short"
58- | "int"
59- | "long"
60- | "signed"
61- | "unsigned"
62- | "float"
63- | "double"
64- | "void" ;
54+ type_specifier = [" ::" ] [nested_name_specifier ] type_name
55+ | builtin_typename ;
6556
6657nested_name_specifier = type_name " ::"
6758 | namespace_name " ::"
@@ -76,6 +67,8 @@ type_name = class_name
7667 | enum_name
7768 | typedef_name ;
7869
70+ builtin_typename = identifier_seq ;
71+
7972class_name = identifier ;
8073
8174enum_name = identifier ;
@@ -84,6 +77,7 @@ typedef_name = identifier ;
8477
8578namespace_name = identifier ;
8679
87-
80+ identifier_seq = identifier
81+ | identifier identifier_seq ;
8882
8983
You can’t perform that action at this time.
0 commit comments