Small fixes to redundand code, copy paste bugs
This commit is contained in:
parent
1fed266bf5
commit
616ab4fac2
13 changed files with 16 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue