mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Made GFC parser strict. Generated GFC lexer with alex -g. In total, this drops the memory residency after loading a large gfc file by about 40%.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1739,7 +1739,7 @@ happyReturn1 = \a tks -> (returnM) a
|
||||
|
||||
pCanon tks = happyThen (happyParse 0# tks) (\x -> happyReturn (happyOut7 x))
|
||||
|
||||
happySeq = happyDontSeq
|
||||
happySeq = happyDoSeq -- H
|
||||
|
||||
returnM :: a -> Err a
|
||||
returnM = return
|
||||
@@ -1753,7 +1753,7 @@ happyError ts =
|
||||
|
||||
myLexer = tokens
|
||||
{-# LINE 1 "GenericTemplate.hs" #-}
|
||||
-- $Id: ParGFC.hs,v 1.4 2004/09/23 15:41:45 aarne Exp $
|
||||
-- $Id: ParGFC.hs,v 1.5 2004/12/02 17:13:17 bringert Exp $
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user