diff options
-rw-r--r-- | Libraries/LibGUI/GMLParser.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GMLParser.cpp b/Libraries/LibGUI/GMLParser.cpp index 67e7bc8099..bab0db544c 100644 --- a/Libraries/LibGUI/GMLParser.cpp +++ b/Libraries/LibGUI/GMLParser.cpp @@ -119,8 +119,10 @@ static Optional<JsonValue> parse_core_object(Queue<GMLToken>& tokens) value = parsed_value.release_value(); } object.set(property_name.m_view, move(value)); + } else if (peek() == GMLToken::Type::Comment) { + tokens.dequeue(); } else { - dbgln("Expected child, property, or }}"); + dbgln("Expected child, property, comment, or }}"); return {}; } } |