diff options
author | lupoDharkael <izhe@hotmail.es> | 2019-04-13 17:26:58 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-04-16 01:41:00 +0200 |
commit | c07b49280aee24b07e0da7fd42dee4cba187cf13 (patch) | |
tree | bb8d0a8920e915746848823fe0509f2184421d72 /modules/gdscript/gdscript_parser.h | |
parent | b7cf4c2050dfd51521522c874676e96d2e5c4762 (diff) | |
download | redot-engine-c07b49280aee24b07e0da7fd42dee4cba187cf13.tar.gz |
Prevent using multiple class_name in a class
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r-- | modules/gdscript/gdscript_parser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h index 809bff8f20..5e4de11357 100644 --- a/modules/gdscript/gdscript_parser.h +++ b/modules/gdscript/gdscript_parser.h @@ -149,6 +149,7 @@ public: bool tool; StringName name; bool extends_used; + bool classname_used; StringName extends_file; Vector<StringName> extends_class; DataType base_type; @@ -198,6 +199,7 @@ public: tool = false; type = TYPE_CLASS; extends_used = false; + classname_used = false; end_line = -1; owner = NULL; } |