cvs commit: hugs98/src parser.y

Ross Paterson <[email protected]> Sun, 14 May 2006 14:59:06 -0700
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <[email protected]>
ross        2006/05/14 14:59:06 PDT

  Modified files:
    src                  parser.y 
  Log:
  Allow optional semicolons before 'then' and 'else' (as suggested by
  John Meacham), to remove a common pitfall when using if-then-else
  inside do expressions.  See
  
  http://haskell.galois.com/cgi-bin/haskell-prime/trac.cgi/wiki/DoAndIfThenElse
  
  Revision  Changes    Path
  1.48      +13 -3     hugs98/src/parser.y