18d266be67
Before this commit, generated parsers considered the following character sequences as newlines: Sequence Description ------------------------------ "\n" Unix "\r" Old Mac "\r\n" Windows "\u2028" line separator "\u2029" paragraph separator This commit limits the sequences only to "\n" and "\r\n". The reason is that nobody uses Unicode newlines or "\r" in practice. A positive side effect of the change is that newline-handling code became simpler (and likely faster). |
||
---|---|---|
.. | ||
generated-parser-behavior.spec.js |