Skip to content

Commit 2992506

Browse files
# is not XID_CONTINUE either
1 parent e3192d4 commit 2992506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/parser/typeql.pest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ duration_seconds = ${ numeric_literal ~ "S" }
631631

632632
escape_seq = @{ "\\" ~ ANY }
633633

634-
WB = _{ &( !IDENTIFIER_CONTINUE | COMMENT | EOI ) } // Word boundary
634+
WB = _{ !IDENTIFIER_CONTINUE | &EOI } // Word boundary
635635

636636
COMMENT = _{ "#" ~ ( !NEWLINE ~ ANY )* ~ ( NEWLINE | EOI ) }
637637
WHITESPACE = _{ " " | "\t" | "\r" | "\n" }

0 commit comments

Comments
 (0)