pegjs/lib
David Majda 18d266be67 Remove support for newlines other than "\n" and "\r\n"
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).
2016-02-05 17:53:13 +01:00
..
compiler Remove support for newlines other than "\n" and "\r\n" 2016-02-05 17:53:13 +01:00
utils Remove trailing commas in object literals 2015-08-21 16:02:13 +02:00
.eslintrc.json ESLint: Set environments better 2016-01-29 14:50:38 +01:00
compiler.js Expose the AST node visitor builder via PEG.compiler.visitor 2015-12-11 14:09:38 +01:00
grammar-error.js Merge pull request #347 from mbaumgartl/errorstack 2015-07-03 13:05:41 +02:00
parser.js Remove support for newlines other than "\n" and "\r\n" 2016-02-05 17:53:13 +01:00
peg.js Update version to 0.9.0 2015-08-30 08:22:26 +02:00