Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 7131605

Browse files
committed
Add fbreak to every Ragel action. Ragel's scanner continues trying to parse tokens even after making a match; the accepting state is always the start state. As a result, it would continue consuming input until it either reached eof or read a combination of characters that could not possibly be a character ref, and then would break out with the error state. When we switched from looking for the presence of output to looking for an accepting state, this triggered the bug on some testcases which had prefixes of other char refs following the char ref.
1 parent 9a25f21 commit 7131605

File tree

2 files changed

+4468
-4468
lines changed

2 files changed

+4468
-4468
lines changed

0 commit comments

Comments
 (0)