colorize empty set

hide-top-rule-name
Matthew Butterick 6 years ago
parent 3d46506cde
commit 98d60c3ead

@ -11,6 +11,7 @@
[(:or (:: "\"" "\\" "\"" "\"") ; string containg double-quote = "\""
(from/to "'" "'")
(from/to "\"" "\"")) (token 'LIT lexeme)]
[(:or "()" "Ø" "") (token 'NO-COLOR lexeme)] ; empty set symbols
[(:or (char-set "()[]{}|+*:?") hide-char splice-char) (token 'MISC lexeme)]
[(:seq (:or "#" ";") (complement (:seq (:* any-char) NL (:* any-char))) (:or NL "")) (token 'COMMENT lexeme)]
[id (token 'ID lexeme)]

Loading…
Cancel
Save