aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-24 22:27:13 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-24 22:32:20 +0200
commit96c29e2a5e2c97d2c40c46222d4593c366de953e (patch)
tree7b8cef6e8cfaeedd7ff4e712cf9f878f849781b3 /utils
parentf7c3b21c0a10b11730bdce64e7e895bd1eb65fd0 (diff)
Move Context to cc-ast in preparation for backend parametrisation
Diffstat (limited to 'utils')
-rw-r--r--utils/CC/Types.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/CC/Types.hs b/utils/CC/Types.hs
index b377045..84c62b2 100644
--- a/utils/CC/Types.hs
+++ b/utils/CC/Types.hs
@@ -6,9 +6,6 @@ import CC.Pretty
-- | Names of variables in the program
type Name = String
--- | Source metadata for compilation
-data Context = Context FilePath
-
-- | Position in a source file; `SourcePos line column`, both zero-based
data SourcePos = SourcePos Int Int
deriving (Show, Read, Eq, Ord)