Browse Source

Change get_completion_identifier_is_function to return a bool

A minor bugfix
Aaron Franke 5 years ago
parent
commit
cf4482e8c4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      modules/gdscript/gdscript_parser.cpp
  2. 1 1
      modules/gdscript/gdscript_parser.h

+ 1 - 1
modules/gdscript/gdscript_parser.cpp

@@ -8784,7 +8784,7 @@ int GDScriptParser::get_completion_argument_index() {
 	return completion_argument;
 	return completion_argument;
 }
 }
 
 
-int GDScriptParser::get_completion_identifier_is_function() {
+bool GDScriptParser::get_completion_identifier_is_function() {
 
 
 	return completion_ident_is_call;
 	return completion_ident_is_call;
 }
 }

+ 1 - 1
modules/gdscript/gdscript_parser.h

@@ -683,7 +683,7 @@ public:
 	BlockNode *get_completion_block();
 	BlockNode *get_completion_block();
 	FunctionNode *get_completion_function();
 	FunctionNode *get_completion_function();
 	int get_completion_argument_index();
 	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; }
 	const List<String> &get_dependencies() const { return dependencies; }