mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Don't make noexpand the default with -fcclazy
This reverts the previous change. Not preprocessing opers turns out to make a difference in what needs to be mentioned in restricted inheritance/imports.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
module GF.Infra.Option
|
||||
(
|
||||
-- * Option types
|
||||
@@ -269,11 +268,11 @@ defaultFlags = Flags {
|
||||
optResName = Nothing,
|
||||
optPreprocessors = [],
|
||||
optEncoding = "latin1",
|
||||
#ifdef CC_LAZY
|
||||
optOptimizations = Set.fromList [OptStem,OptCSE],
|
||||
#else
|
||||
-- #ifdef CC_LAZY
|
||||
-- optOptimizations = Set.fromList [OptStem,OptCSE],
|
||||
-- #else
|
||||
optOptimizations = Set.fromList [OptStem,OptCSE,OptExpand,OptParametrize],
|
||||
#endif
|
||||
-- #endif
|
||||
optOptimizePGF = False,
|
||||
optMkIndexPGF = False,
|
||||
optCFGTransforms = Set.fromList [CFGRemoveCycles, CFGBottomUpFilter,
|
||||
|
||||
Reference in New Issue
Block a user