mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Small fixes to redundand code, copy paste bugs
This commit is contained in:
@@ -2232,9 +2232,7 @@ void GDScriptParser::_parse_pattern_block(BlockNode *p_block, Vector<PatternBran
|
||||
break; // go back a level
|
||||
}
|
||||
|
||||
if (pending_newline != -1) {
|
||||
pending_newline = -1;
|
||||
}
|
||||
pending_newline = -1;
|
||||
|
||||
PatternBranchNode *branch = alloc_node<PatternBranchNode>();
|
||||
branch->body = alloc_node<BlockNode>();
|
||||
|
||||
@@ -496,7 +496,7 @@ struct TextDocumentSyncOptions {
|
||||
dict["willSave"] = willSave;
|
||||
dict["openClose"] = openClose;
|
||||
dict["change"] = change;
|
||||
dict["change"] = save.to_json();
|
||||
dict["save"] = save.to_json();
|
||||
return dict;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user