Skip to content

Commit ca9f3e1

Browse files
committed
Fixes warning AC0180
1 parent d9c2834 commit ca9f3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Parsing/Grammar/VBALexer.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ SINGLEQUOTE : '\'';
305305
UNDERSCORE : '_';
306306
WS : [ \t];
307307
GUIDLITERAL : '{' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '-' [0-9A-F]+ '}';
308-
IDENTIFIER : ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; 0-9-/\\-] ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; -]*;
308+
IDENTIFIER : ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; 0-9/\\] ~[[\](){}\r\n\t.,'"|!@#$%^&*\-+:=; ]*;
309309
LINE_CONTINUATION : [ \t]+ UNDERSCORE [ \t]* '\r'? '\n' WS_NOT_FOLLOWED_BY_LINE_CONTINUATION*;
310310
// The following rule is needed in order to capture hex literals without format prefixes which start with a digit. Needed for VBForm resources.
311311
BARE_HEX_LITERAL : [0-9] [0-9a-fA-F]*;

0 commit comments

Comments
 (0)