summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.h
diff options
context:
space:
mode:
authorThakee Nathees <thakeenathees@gmail.com>2020-03-07 01:10:47 +0530
committerThakee Nathees <thakeenathees@gmail.com>2020-05-10 02:35:27 +0530
commit5758d87f09b316dff7f351d23bbf97511789c6c0 (patch)
treecf2a8dd5b0cef381e59441422ef1d38886efe9db /modules/gdscript/gdscript_parser.h
parentff5dfcdf68c20590bf123ade75ca06ed58276372 (diff)
more clearer unexpected statement end error messages
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r--modules/gdscript/gdscript_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h
index f254352423..708c328b27 100644
--- a/modules/gdscript/gdscript_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -624,6 +624,7 @@ private:
void _parse_extends(ClassNode *p_class);
void _parse_class(ClassNode *p_class);
bool _end_statement();
+ void _set_end_statement_error(String p_name);
void _determine_inheritance(ClassNode *p_class, bool p_recursive = true);
bool _parse_type(DataType &r_type, bool p_can_be_void = false);