mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:35:09 +00:00
JSSpecCompiler: Do not store XML::Node in tokens
This commit is contained in:
parent
94f5086b93
commit
7945c9d808
3 changed files with 12 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue