Add some comments to #endif's where it will easier life

Also added some new line to improve readability

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
This commit is contained in:
Yevhen Babiichuk (DustDFG) 2024-10-20 08:55:27 +03:00
parent 44fa552343
commit 8c29ef38fc
6 changed files with 24 additions and 20 deletions

View file

@ -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