mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -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
|
module GF.Infra.Option
|
||||||
(
|
(
|
||||||
-- * Option types
|
-- * Option types
|
||||||
@@ -269,11 +268,11 @@ defaultFlags = Flags {
|
|||||||
optResName = Nothing,
|
optResName = Nothing,
|
||||||
optPreprocessors = [],
|
optPreprocessors = [],
|
||||||
optEncoding = "latin1",
|
optEncoding = "latin1",
|
||||||
#ifdef CC_LAZY
|
-- #ifdef CC_LAZY
|
||||||
optOptimizations = Set.fromList [OptStem,OptCSE],
|
-- optOptimizations = Set.fromList [OptStem,OptCSE],
|
||||||
#else
|
-- #else
|
||||||
optOptimizations = Set.fromList [OptStem,OptCSE,OptExpand,OptParametrize],
|
optOptimizations = Set.fromList [OptStem,OptCSE,OptExpand,OptParametrize],
|
||||||
#endif
|
-- #endif
|
||||||
optOptimizePGF = False,
|
optOptimizePGF = False,
|
||||||
optMkIndexPGF = False,
|
optMkIndexPGF = False,
|
||||||
optCFGTransforms = Set.fromList [CFGRemoveCycles, CFGBottomUpFilter,
|
optCFGTransforms = Set.fromList [CFGRemoveCycles, CFGBottomUpFilter,
|
||||||
|
|||||||
Reference in New Issue
Block a user