Add class_name built-in keyword

Fix #16
This commit is contained in:
Nathan Lovato
2020-02-14 18:15:54 -06:00
parent d195993c60
commit ff2d400e9a

View File

@@ -66,11 +66,11 @@
;; Lists of keywords in the language ;; Lists of keywords in the language
(defvar gdscript-keywords '("if" "elif" "else" "for" "do" "while" "match" (defvar gdscript-keywords '("if" "elif" "else" "for" "do" "while" "match"
"switch" "case" "break" "continue" "pass" "switch" "case" "break" "continue" "pass"
"return" "class" "extends" "is" "self" "tool" "return" "class" "class_name" "extends" "is"
"signal" "func" "static" "const" "enum" "var" "self" "tool" "signal" "func" "static" "const"
"onready" "export" "setget" "breakpoint" "preload" "enum" "var" "onready" "export" "setget" "breakpoint"
"yield" "assert" "remote" "master" "slave" "preload" "yield" "assert" "remote" "master"
"sync")) "slave" "sync"))
(defvar gdscript-built-in-constants '("PI" "TAU" "INF" "NAN")) (defvar gdscript-built-in-constants '("PI" "TAU" "INF" "NAN"))