mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
This is in a weird position where the spec tells us to discard the comments, but then we have to preserve the original source text which may include comments. As a compromise, I'm treating each comment as a whitespace token - comments are functionally equivalent to whitespace so this should not have any behaviour changes beyond preserving the original text. (cherry picked from commit f8995d37a2bf71e98e273f4aa0764d9c022ac127)
48 KiB
48 KiB