cvs commit: fptools/happy/alex/src Parser.y Scan.hs Scan.x fptools/happy/alex/templates GenericTemplate.hs fptools/happy/alex/tests Makefile simple.x
Simon Marlow <[email protected]> Fri, 14 Feb 2003 08:11:57 -0800
| Newsgroups | gmane.comp.lang.haskell.cvs.happy |
|---|---|
| Message-ID | <[email protected]> |
simonmar 2003/02/14 08:11:56 PST
Modified files: (Branch: simonm-hackery-branch)
happy/alex/src Parser.y Scan.hs Scan.x
happy/alex/templates GenericTemplate.hs
happy/alex/tests Makefile simple.x
Log:
Fix left context patterns.
I also changed the syntax slightly.
1. set ^ pattern -> pattern with left context 'set'
2. ^ pattern -> pattern with left context '\n'
3. pattern $ rexp -> pattern with right context rexp
4. pattern $ -> pattern with right context '\n'
(1) doesn't exist in lex, (2) and (4) do. (3) is written 'pattern /
rexp' in lex, but I figured that was a bit inconsistent, so changed it
to 'pattern $ rexp'.
Revision Changes Path
1.1.2.6 +12 -6 fptools/happy/alex/src/Attic/Parser.y
1.1.1.1.2.6 +11 -10 fptools/happy/alex/src/Scan.hs
1.1.1.1.2.5 +2 -2 fptools/happy/alex/src/Scan.x
1.1.2.4 +7 -6 fptools/happy/alex/templates/Attic/GenericTemplate.hs
1.1.2.2 +1 -1 fptools/happy/alex/tests/Attic/Makefile
1.1.2.2 +10 -4 fptools/happy/alex/tests/Attic/simple.x