Skip to content

Commit

Permalink
Fix #3610 (#3616)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaby76 authored Jul 19, 2023
1 parent 4cfe10d commit 1447902
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
22 changes: 13 additions & 9 deletions cpp/CPP14Parser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -371,19 +371,23 @@ simpleTypeSignednessModifier:
simpleTypeSpecifier:
nestedNameSpecifier? theTypeName
| nestedNameSpecifier Template simpleTemplateId
| simpleTypeSignednessModifier
| simpleTypeSignednessModifier? simpleTypeLengthModifier+
| simpleTypeSignednessModifier? Char
| simpleTypeSignednessModifier? Char16
| simpleTypeSignednessModifier? Char32
| simpleTypeSignednessModifier? Wchar
| Char
| Char16
| Char32
| Wchar
| Bool
| simpleTypeSignednessModifier? simpleTypeLengthModifier* Int
| Short
| Int
| Long
| Float
| simpleTypeLengthModifier? Double
| Signed
| Unsigned
| Float
| Double
| Void
| Auto
| decltypeSpecifier;
| decltypeSpecifier
;

theTypeName:
className
Expand Down
Loading

0 comments on commit 1447902

Please sign in to comment.