mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Emit comment token for unterminated bogus comments on EOF
This commit is contained in:
committed by
Andreas Kling
parent
627b7dd936
commit
8b5e9c2a1d
@@ -488,8 +488,8 @@ _StartOfFunction:
|
||||
}
|
||||
ON_EOF
|
||||
{
|
||||
m_queued_tokens.enqueue(move(m_current_token));
|
||||
EMIT_EOF;
|
||||
m_current_token.set_comment(consume_current_builder());
|
||||
EMIT_CURRENT_TOKEN_FOLLOWED_BY_EOF;
|
||||
}
|
||||
ON(0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user