1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-27 07:33:16 +00:00

Update highlight.janet (allow ! in symbols).

This commit is contained in:
Calvin Rose 2019-01-20 08:53:34 -05:00
parent 48b179d67e
commit f7a0133eb1

View File

@ -39,7 +39,7 @@
~{:ws (set " \t\r\f\n\0")
:readermac (set "';~,")
:symchars (+ (range "09" "AZ" "az" "\x80\xFF") (set "$%&*+-./:<=>?@^_|"))
:symchars (+ (range "09" "AZ" "az" "\x80\xFF") (set "!$%&*+-./:<?=>@^_|"))
:token (some :symchars)
:hex (range "09" "af" "AF")
:escape (* "\\" (+ (set "ntrzf0\"\\e")