diff --git a/lib/compiler.js b/lib/compiler.js index 1aab955..f3d5b32 100644 --- a/lib/compiler.js +++ b/lib/compiler.js @@ -1007,22 +1007,19 @@ PEG.Compiler = { " *", " * - |result !== null|", " * - |pos === input.length|", - " * - |rightmostMatchFailuresExpected.length| may or may not contain", - " * something", + " * - |rightmostMatchFailuresExpected| may or may not contain something", " *", " * 2. The parser successfully parsed only a part of the input.", " *", " * - |result !== null|", " * - |pos < input.length|", - " * - |rightmostMatchFailuresExpected.length| may or may not contain", - " * something", + " * - |rightmostMatchFailuresExpected| may or may not contain something", " *", " * 3. The parser did not successfully parse any part of the input.", " *", " * - |result === null|", " * - |pos === 0|", - " * - |rightmostMatchFailuresExpected.length| contains at least one", - " * failure", + " * - |rightmostMatchFailuresExpected| contains at least one failure", " *", " * All code following this comment (including called functions) must", " * handle these states.", diff --git a/lib/metagrammar.js b/lib/metagrammar.js index 57c586c..faf04c3 100644 --- a/lib/metagrammar.js +++ b/lib/metagrammar.js @@ -3401,22 +3401,19 @@ PEG.grammarParser = (function(){ * * - |result !== null| * - |pos === input.length| - * - |rightmostMatchFailuresExpected.length| may or may not contain - * something + * - |rightmostMatchFailuresExpected| may or may not contain something * * 2. The parser successfully parsed only a part of the input. * * - |result !== null| * - |pos < input.length| - * - |rightmostMatchFailuresExpected.length| may or may not contain - * something + * - |rightmostMatchFailuresExpected| may or may not contain something * * 3. The parser did not successfully parse any part of the input. * * - |result === null| * - |pos === 0| - * - |rightmostMatchFailuresExpected.length| contains at least one - * failure + * - |rightmostMatchFailuresExpected| contains at least one failure * * All code following this comment (including called functions) must * handle these states.