mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 10:44:26 +00:00
Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
6916349697
commit
f18aa00e85
45 changed files with 85 additions and 85 deletions
|
|
@ -5410,7 +5410,7 @@ void GDScriptParser::TreePrinter::print_while(WhileNode *p_while) {
|
|||
}
|
||||
|
||||
void GDScriptParser::TreePrinter::print_tree(const GDScriptParser &p_parser) {
|
||||
ERR_FAIL_COND_MSG(p_parser.get_tree() == nullptr, "Parse the code before printing the parse tree.");
|
||||
ERR_FAIL_NULL_MSG(p_parser.get_tree(), "Parse the code before printing the parse tree.");
|
||||
|
||||
if (p_parser.is_tool()) {
|
||||
push_line("@tool");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue