mirror of
https://github.com/janet-lang/janet
synced 2024-09-30 16:00:40 +00:00
Update highlight.janet (allow ! in symbols).
This commit is contained in:
parent
48b179d67e
commit
f7a0133eb1
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
~{:ws (set " \t\r\f\n\0")
|
~{:ws (set " \t\r\f\n\0")
|
||||||
:readermac (set "';~,")
|
:readermac (set "';~,")
|
||||||
:symchars (+ (range "09" "AZ" "az" "\x80\xFF") (set "$%&*+-./:<=>?@^_|"))
|
:symchars (+ (range "09" "AZ" "az" "\x80\xFF") (set "!$%&*+-./:<?=>@^_|"))
|
||||||
:token (some :symchars)
|
:token (some :symchars)
|
||||||
:hex (range "09" "af" "AF")
|
:hex (range "09" "af" "AF")
|
||||||
:escape (* "\\" (+ (set "ntrzf0\"\\e")
|
:escape (* "\\" (+ (set "ntrzf0\"\\e")
|
||||||
|
Loading…
Reference in New Issue
Block a user