add more keywords
This commit is contained in:
		
							parent
							
								
									cb7840d258
								
							
						
					
					
						commit
						a214b1e7f2
					
				| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue