-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Enums require an name that isn't a reserved word or type. What counts as a reserved word or type depends on the version.
To Reproduce
Steps to reproduce the behavior:
#If VBA7 = 0 then
Enum LongPtr
[_]
End Enum
#End if
Code (if relevant)
enumDeclaration: ENUM wsc untypedName endOfStatement+ enumMemberList endOfStatement+ END wsc ENUM ;
Expected behavior
LongPtr should be a valid enum name. The parser shouldn't care it's a reserved word or type.
sancarnsancarn
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
