summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-03 21:24:36 +0200
committerGitHub <noreply@github.com>2019-07-03 21:24:36 +0200
commit9f666da2b2deb27e144f2fb5276fa724ecf8cd29 (patch)
tree5a4515186a72796d20316e8cb0145790c21f7b90 /modules/gdscript/gdscript_parser.h
parenta3bdb6c8d83d424da664ea8c4ee680a9b67e1b30 (diff)
parentf7de816f8bab30622ac255f7a1eadc9ebab6eace (diff)
downloadredot-engine-9f666da2b2deb27e144f2fb5276fa724ecf8cd29.tar.gz
Merge pull request #30287 from bojidar-bg/8006-constants-trouble
Fix parsing of arguments in constant expressions
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r--modules/gdscript/gdscript_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h
index 5e4de11357..18ca352372 100644
--- a/modules/gdscript/gdscript_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -582,7 +582,7 @@ private:
#endif // DEBUG_ENABLED
bool _recover_from_completion();
- bool _parse_arguments(Node *p_parent, Vector<Node *> &p_args, bool p_static, bool p_can_codecomplete = false);
+ bool _parse_arguments(Node *p_parent, Vector<Node *> &p_args, bool p_static, bool p_can_codecomplete = false, bool p_parsing_constant = false);
bool _enter_indent_block(BlockNode *p_block = NULL);
bool _parse_newline();
Node *_parse_expression(Node *p_parent, bool p_static, bool p_allow_assign = false, bool p_parsing_constant = false);