mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
parent
e19da5ab6a
commit
8ecef3496c
4 changed files with 62 additions and 34 deletions
|
@ -4093,7 +4093,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
|||
#endif
|
||||
tokenizer->advance();
|
||||
|
||||
Node *subexpr = _parse_and_reduce_expression(p_class, false, autoexport);
|
||||
Node *subexpr = _parse_and_reduce_expression(p_class, false, autoexport || member._export.type != Variant::NIL);
|
||||
if (!subexpr) {
|
||||
if (_recover_from_completion()) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue