You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
This commit is contained in:
@@ -1420,9 +1420,10 @@ Error GDCompiler::_parse_function(GDScript *p_script,const GDParser::ClassNode *
|
||||
|
||||
GDFunction *gdfunc=NULL;
|
||||
|
||||
//if (String(p_func->name)=="") { //initializer func
|
||||
// gdfunc = &p_script->initializer;
|
||||
|
||||
/*
|
||||
if (String(p_func->name)=="") { //initializer func
|
||||
gdfunc = &p_script->initializer;
|
||||
*/
|
||||
//} else { //regular func
|
||||
p_script->member_functions[func_name]=memnew(GDFunction);
|
||||
gdfunc = p_script->member_functions[func_name];
|
||||
|
||||
Reference in New Issue
Block a user