Use strict parser and GHC-specific lexer for source grammars.

This commit is contained in:
bringert
2004-12-06 17:44:59 +00:00
parent 798cb37002
commit 0098d5e943
3 changed files with 71 additions and 54 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2861,7 +2861,7 @@ pOldGrammar tks = happyThen (happyParse 2# tks) (\x -> happyReturn (happyOut82 x
pExp tks = happyThen (happyParse 3# tks) (\x -> happyReturn (happyOut56 x))
happySeq = happyDontSeq
happySeq = happyDoSeq
returnM :: a -> Err a
returnM = return
@@ -2875,7 +2875,7 @@ happyError ts =
myLexer = tokens
{-# LINE 1 "GenericTemplate.hs" #-}
-- $Id: ParGF.hs,v 1.4 2004/09/14 18:05:47 aarne Exp $
-- $Id: ParGF.hs,v 1.5 2004/12/06 18:44:59 bringert Exp $