mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
JSSpecCompiler: Do not store XML::Node in tokens
This commit is contained in:
committed by
Andrew Kaster
parent
94f5086b93
commit
7945c9d808
@@ -262,7 +262,7 @@ TextParseErrorOr<Tree> TextParser::parse_expression()
|
||||
|
||||
if (token.type == TokenType::ParenOpen) {
|
||||
if (last_element_type == ExpressionType)
|
||||
stack.append(Token { TokenType::FunctionCall, ""sv, token.node, token.location });
|
||||
stack.append(Token { TokenType::FunctionCall, ""sv, token.location });
|
||||
stack.append(token);
|
||||
|
||||
if (m_next_token_index + 1 < m_tokens.size()
|
||||
|
||||
Reference in New Issue
Block a user