You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Initialize class/struct variables with default values in platform/ and editor/
This commit is contained in:
@@ -45,22 +45,22 @@ public:
|
||||
};
|
||||
|
||||
String name;
|
||||
Type type;
|
||||
Type type = NAMESPACE_DECL;
|
||||
};
|
||||
|
||||
struct ClassDecl {
|
||||
String name;
|
||||
String namespace_;
|
||||
Vector<String> base;
|
||||
bool nested;
|
||||
bool nested = false;
|
||||
};
|
||||
|
||||
private:
|
||||
String code;
|
||||
int idx;
|
||||
int line;
|
||||
int idx = 0;
|
||||
int line = 0;
|
||||
String error_str;
|
||||
bool error;
|
||||
bool error = false;
|
||||
Variant value;
|
||||
|
||||
Vector<ClassDecl> classes;
|
||||
|
||||
Reference in New Issue
Block a user