summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2024-10-24 19:11:42 -0700
committerGitHub <noreply@github.com>2024-10-24 19:11:42 -0700
commitb5368d5e407115e5bed4abe2070b967e7b14a249 (patch)
tree8278b0fe132f5347d888bbd946c92ec88573c66e /modules/gdscript/gdscript_editor.cpp
parentb4ba0f983a02f671862cdddfa6a4808b226e9b6b (diff)
parent8c29ef38fcd4d8d41a27b5722f57d807c4ae0e6b (diff)
downloadredot-engine-b5368d5e407115e5bed4abe2070b967e7b14a249.tar.gz
Merge pull request #98356 from dustdfg/gdscript_endif_readability_comments
Add some comments to `#endif's` where it helps readability
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
-rw-r--r--modules/gdscript/gdscript_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 3de1decc18..b59c071ae2 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -3534,13 +3534,13 @@ static void _find_call_arguments(GDScriptParser::CompletionContext &p_context, c
return OK;
}
-#else
+#else // !TOOLS_ENABLED
Error GDScriptLanguage::complete_code(const String &p_code, const String &p_path, Object *p_owner, List<ScriptLanguage::CodeCompletionOption> *r_options, bool &r_forced, String &r_call_hint) {
return OK;
}
-#endif
+#endif // TOOLS_ENABLED
//////// END COMPLETION //////////
@@ -4125,4 +4125,4 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
return ERR_CANT_RESOLVE;
}
-#endif
+#endif // TOOLS_ENABLED