From: Jesse Vincent Date: Tue, 13 Apr 2010 20:47:49 +0000 (-0400) Subject: Revert "Revert "* Fixed typo in toke.c docs, identified by Zefram"" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f317c954d04a08fbd69324135531f89b95bd969;p=p5sagit%2Fp5-mst-13.2.git Revert "Revert "* Fixed typo in toke.c docs, identified by Zefram"" This reverts commit 06164d6c3ad67ed7ba18030ae378f46f482a29af. --- diff --git a/toke.c b/toke.c index a7a71a4..19fce67 100644 --- a/toke.c +++ b/toke.c @@ -1124,7 +1124,7 @@ it is not permitted to discard text that has yet to be lexed. Normally it is not necessarily to do this directly, because it suffices to use the implicit discarding behaviour of L and things based on it. However, if a token stretches across multiple lines, -and the lexing code has kept multiple lines of text in the buffer fof +and the lexing code has kept multiple lines of text in the buffer for that purpose, then after completion of the token it would be wise to explicitly discard the now-unneeded earlier lines, to avoid future multi-line tokens growing the buffer without bound.