Fix incorrect comment

redux
David Majda 14 years ago
parent 8a2e21fa3f
commit c0f0d56975

@ -1007,22 +1007,19 @@ PEG.Compiler = {
" *", " *",
" * - |result !== null|", " * - |result !== null|",
" * - |pos === input.length|", " * - |pos === input.length|",
" * - |rightmostMatchFailuresExpected.length| may or may not contain", " * - |rightmostMatchFailuresExpected| may or may not contain something",
" * something",
" *", " *",
" * 2. The parser successfully parsed only a part of the input.", " * 2. The parser successfully parsed only a part of the input.",
" *", " *",
" * - |result !== null|", " * - |result !== null|",
" * - |pos < input.length|", " * - |pos < input.length|",
" * - |rightmostMatchFailuresExpected.length| may or may not contain", " * - |rightmostMatchFailuresExpected| may or may not contain something",
" * something",
" *", " *",
" * 3. The parser did not successfully parse any part of the input.", " * 3. The parser did not successfully parse any part of the input.",
" *", " *",
" * - |result === null|", " * - |result === null|",
" * - |pos === 0|", " * - |pos === 0|",
" * - |rightmostMatchFailuresExpected.length| contains at least one", " * - |rightmostMatchFailuresExpected| contains at least one failure",
" * failure",
" *", " *",
" * All code following this comment (including called functions) must", " * All code following this comment (including called functions) must",
" * handle these states.", " * handle these states.",

@ -3401,22 +3401,19 @@ PEG.grammarParser = (function(){
* *
* - |result !== null| * - |result !== null|
* - |pos === input.length| * - |pos === input.length|
* - |rightmostMatchFailuresExpected.length| may or may not contain * - |rightmostMatchFailuresExpected| may or may not contain something
* something
* *
* 2. The parser successfully parsed only a part of the input. * 2. The parser successfully parsed only a part of the input.
* *
* - |result !== null| * - |result !== null|
* - |pos < input.length| * - |pos < input.length|
* - |rightmostMatchFailuresExpected.length| may or may not contain * - |rightmostMatchFailuresExpected| may or may not contain something
* something
* *
* 3. The parser did not successfully parse any part of the input. * 3. The parser did not successfully parse any part of the input.
* *
* - |result === null| * - |result === null|
* - |pos === 0| * - |pos === 0|
* - |rightmostMatchFailuresExpected.length| contains at least one * - |rightmostMatchFailuresExpected| contains at least one failure
* failure
* *
* All code following this comment (including called functions) must * All code following this comment (including called functions) must
* handle these states. * handle these states.

Loading…
Cancel
Save