cvs commit: fptools/ghc/compiler/parser Parser.y.pp fptools/ghc/docs/users_guide glasgow_exts.sgml

Ross Paterson ross at glass.cse.ogi.edu
Wed Jun 23 18:43:29 EDT 2004


ross        2004/06/23 15:43:28 PDT

  Modified files:
    ghc/compiler/parser  Parser.y.pp 
    ghc/docs/users_guide glasgow_exts.sgml 
  Log:
  arrow notation fixes (problems reported bu John Hughes):
  
  * allow an infixexp (exp0) to the left of -<.  This adds 4 more
    shift/reduce conflicts, because it makes if/lambda/let/case/proc
    before -< ambiguous.  This is the same sort of thing as
    "if x then y else z + 1", and as there shifting does the right thing.
  
  * described the grammar more precisely
  
  * fixed an example
  
  merge to STABLE
  
  Revision  Changes    Path
  1.11      +7 -4      fptools/ghc/compiler/parser/Parser.y.pp
  1.125     +37 -19    fptools/ghc/docs/users_guide/glasgow_exts.sgml


More information about the Cvs-ghc mailing list