add more keywords

This commit is contained in:
zongor 2025-06-14 20:06:35 -04:00
parent cb7840d258
commit a214b1e7f2
1 changed files with 5 additions and 4 deletions

View File

@ -16,10 +16,11 @@
;;; ;;;
(defvar zre-keywords (defvar zre-keywords
'("fn" "to" "in" "is" "as" "use" "if" "else" '("fn" "to" "in" "is" "as" "use" "if" "else" "default"
"for" "try" "catch" "while" "do" "exit" "for" "try" "catch" "while" "do" "exit" "switch"
"return" "const" "type" "this" "yield" "return" "const" "type" "this" "yield" "case"
"break" "mod" "not" "and" "or" "print" "let") "assert" "break" "mod" "not" "and" "or" "print" "let"
"band" "bor" "bxor" "srl" "sll")
"Keywords in Zre.") "Keywords in Zre.")
(defvar zre-types (defvar zre-types