cvs commit: fptools/ghc/compiler/parser Lex.lhs

Sigbjorn Finne sof@glass.cse.ogi.edu
Fri, 28 Sep 2001 16:41:00 -0700


sof         2001/09/28 16:41:00 PDT

  Modified files:
    ghc/compiler/parser  Lex.lhs 
  Log:
  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.
  
  Revision  Changes    Path
  1.64      +26 -18    fptools/ghc/compiler/parser/Lex.lhs