Avoid crash after a parsing error in GDScript

This commit is contained in:
Pedro J. Estébanez
2021-08-14 17:56:09 +02:00
parent 7c79e361f5
commit 10c9c2ccd4
2 changed files with 4 additions and 9 deletions

View File

@ -54,6 +54,7 @@ private:
GDScriptParser *parser = nullptr;
GDScriptAnalyzer *analyzer = nullptr;
Status status = EMPTY;
Error result = OK;
String path;
friend class GDScriptCache;