File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Userland/Libraries/LibGUI/GML Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ static ErrorOr<NonnullRefPtr<Object>> parse_gml_object(Queue<Token>& tokens)
57
57
// It's a child object.
58
58
59
59
while (!pending_comments.is_empty ())
60
- TRY (object->add_sub_object_child (pending_comments.take_last ()));
60
+ TRY (object->add_sub_object_child (pending_comments.take_first ()));
61
61
62
62
TRY (object->add_sub_object_child (TRY (parse_gml_object (tokens))));
63
63
} else if (peek () == Token::Type::Identifier) {
64
64
// It's a property.
65
65
66
66
while (!pending_comments.is_empty ())
67
- TRY (object->add_property_child (pending_comments.take_last ()));
67
+ TRY (object->add_property_child (pending_comments.take_first ()));
68
68
69
69
auto property_name = tokens.dequeue ();
70
70
You can’t perform that action at this time.
0 commit comments