Skip to content

Commit acc240d

Browse files
authored
Fix: identifier name cannot include '<' or '>' (#4455)
Expressions like "Abc<>Cde" (without spaces) is considered as a single identifier
1 parent 8b03553 commit acc240d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vba/vba6/vba.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@ WS
19911991

19921992
// identifier
19931993
IDENTIFIER
1994-
: ~[\]()\r\n\t.,'"|!@#$%^&*\-+:=; ]+
1994+
: ~[\]()\r\n\t.,'"|!@#$%^&*\-+:=; <>]+
19951995
| L_SQUARE_BRACKET (~[!\]\r\n])+ R_SQUARE_BRACKET
19961996
;
19971997

0 commit comments

Comments
 (0)