mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Previously we would consider an alternative syntax child to be a match as long as parsing produced a value, even if there were trailing tokens (which would later invalidate it within `parse_with_a_syntax`). This meant that we wouldn't consider later alternatives which may actually produce a valid match.