diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2020-05-09 13:45:00 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-05-09 13:45:00 -0400 |
commit | cf4482e8c415c2193abc7dfedc67f607fe404409 (patch) | |
tree | f162a7075d1df5eae178fbd78b71c5751e7fdbdc | |
parent | 38a0ff2249e50ddc1aebb9ec93bc446ab6b3e70b (diff) |
Change get_completion_identifier_is_function to return a bool
A minor bugfix
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 2 | ||||
-rw-r--r-- | modules/gdscript/gdscript_parser.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index d6339c03df..c7de45c7fb 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -8784,7 +8784,7 @@ int GDScriptParser::get_completion_argument_index() { return completion_argument; } -int GDScriptParser::get_completion_identifier_is_function() { +bool GDScriptParser::get_completion_identifier_is_function() { return completion_ident_is_call; } diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h index f254352423..3b9d772032 100644 --- a/modules/gdscript/gdscript_parser.h +++ b/modules/gdscript/gdscript_parser.h @@ -683,7 +683,7 @@ public: BlockNode *get_completion_block(); FunctionNode *get_completion_function(); int get_completion_argument_index(); - int get_completion_identifier_is_function(); + bool get_completion_identifier_is_function(); const List<String> &get_dependencies() const { return dependencies; } |