Fix PEG tests for multiline changes

db4
Slava Pestov 2008-09-25 03:37:48 -05:00
parent 583673afa8
commit 736974fe15
2 changed files with 3 additions and 6 deletions

View File

@ -40,8 +40,7 @@ function foldl(f, initial, seq) {
for(var i=0; i< seq.length; ++i) for(var i=0; i< seq.length; ++i)
initial = f(initial, seq[i]); initial = f(initial, seq[i]);
return initial; return initial;
} }"> main \ javascript rule (parse) remaining>> length zero?
"> main \ javascript rule (parse) remaining>> length zero?
] unit-test ] unit-test
{ t } [ { t } [
@ -51,7 +50,6 @@ ParseState.prototype.from = function(index) {
r.cache = this.cache; r.cache = this.cache;
r.length = this.length - index; r.length = this.length - index;
return r; return r;
} }"> main \ javascript rule (parse) remaining>> length zero?
"> main \ javascript rule (parse) remaining>> length zero?
] unit-test ] unit-test

View File

@ -57,8 +57,7 @@ BEGIN
CALL square; CALL square;
x := x + 1; x := x + 1;
END END
END. END."> main \ pl0 rule (parse) remaining>> empty?
"> main \ pl0 rule (parse) remaining>> empty?
] unit-test ] unit-test
{ f } [ { f } [