forked from sublimehq/Packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Erlang] Fix quoted identifier lookahead
Fixes sublimehq#1878 (comment) This commit improves the quoted identifier pattern as the old one caused the namespace lookahead to be triggered in the wrong place. The following token was matched by the (?={{ident}}\s*:[^:=]) pattern in the namespace context by accident: '$get_stacktrace') catch exit:'$get_stacktrace': The new pattern makes sure to stop matching at the first unescaped single quote. Any number of escaped backslashes is allowed in front of it.
- Loading branch information
DeathAxe
committed
Oct 28, 2019
1 parent
f60f80a
commit 63a118a
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters