Added a couple more settings to CompState to set the locations of the (C and occam) header files (but not made them available via the command-line, just yet)

This commit is contained in:
Neil Brown 2009-04-01 14:34:13 +00:00
parent e9730bfe1e
commit b830b27066

View File

@ -104,6 +104,8 @@ data CompState = CompState {
csUsageChecking :: Bool,
csVerboseLevel :: Int,
csOutputFile :: String,
csOutputHeaderFile :: String,
csOutputIncFile :: String,
csKeepTemporaries :: Bool,
csEnabledWarnings :: Set WarningType,
csRunIndent :: Bool,
@ -151,6 +153,8 @@ emptyState = CompState {
csUsageChecking = True,
csVerboseLevel = 0,
csOutputFile = "-",
csOutputHeaderFile = "-",
csOutputIncFile = "-",
csKeepTemporaries = False,
csEnabledWarnings = Set.fromList
[ WarnInternal