cvs commit: fptools/happy/alex/src Parser.y Scan.hs Scan.x

Simon Marlow <[email protected]> Fri, 8 Aug 2003 06:08:02 -0700
Newsgroups gmane.comp.lang.haskell.cvs.happy
Message-ID <[email protected]>
simonmar    2003/08/08 06:08:02 PDT

  Modified files:        (Branch: simonm-hackery-branch)
    happy/alex/src       Parser.y Scan.hs Scan.x 
  Log:
  Allow rules with the same startcodes to be grouped together, like this:
  
  <codes> regex1   { e1 }
  <codes> regex2   { e2 }
  
  becomes
  
  <codes> {
    regex1	{ e1 }
    regex2	{ e2 }
  }
  
  Revision  Changes    Path
  1.1.2.11  +27 -9     fptools/happy/alex/src/Attic/Parser.y
  1.1.1.1.2.11 +12 -9     fptools/happy/alex/src/Scan.hs
  1.1.1.1.2.9 +5 -1      fptools/happy/alex/src/Scan.x