[project @ 2001-09-28 23:41:00 by sof]
authorsof <unknown>
Fri, 28 Sep 2001 23:41:00 +0000 (23:41 +0000)
committersof <unknown>
Fri, 28 Sep 2001 23:41:00 +0000 (23:41 +0000)
commit0f3a6bb66dc8db4a4001609414f287abe742d9bd
tree59d16c039bb28cc96c5ad2c89205d3c571ecb50e
parent53ededd082a1efa78d54aaa855d7e7e76a8c7366
[project @ 2001-09-28 23:41:00 by sof]
Rename 'doDiscard' to 'lexPragma', and make it EOF-resistant.
As was, it would run off the end of a StringBuffer (and SIGSEGV,
most likely) if a pragma wasn't properly closed.
ghc/compiler/parser/Lex.lhs