summaryrefslogtreecommitdiff
path: root/src/Language/Fiddle/Compiler/Qualification.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-10-22 19:37:45 -0600
committerJosh Rahm <joshuarahm@gmail.com>2024-10-22 19:37:45 -0600
commit977758cb8c968a9b371fdddbadf456e92107d11c (patch)
tree975ba34b97a98cffcee37d8d933f2b2d3ecc9471 /src/Language/Fiddle/Compiler/Qualification.hs
parent0a0f200a79a9e78b97addda6bd8e879d8c1c5d3e (diff)
downloadfiddle-977758cb8c968a9b371fdddbadf456e92107d11c.tar.gz
fiddle-977758cb8c968a9b371fdddbadf456e92107d11c.tar.bz2
fiddle-977758cb8c968a9b371fdddbadf456e92107d11c.zip
Implement bitfield arrays.
Diffstat (limited to 'src/Language/Fiddle/Compiler/Qualification.hs')
-rw-r--r--src/Language/Fiddle/Compiler/Qualification.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Language/Fiddle/Compiler/Qualification.hs b/src/Language/Fiddle/Compiler/Qualification.hs
index 81e6ac4..e8ab479 100644
--- a/src/Language/Fiddle/Compiler/Qualification.hs
+++ b/src/Language/Fiddle/Compiler/Qualification.hs
@@ -100,19 +100,6 @@ pushObject obj ls =
let q = currentQualifiedPath ls
in q {objectPart = objectPart q ++ h, basenamePart = l}
--- pushObject :: [String] -> LocalState -> (QualifiedPath String, LocalState)
--- pushObject objName ls =
--- let q = currentQualifiedPath ls
--- in ( fmap (const objName) q,
--- ls
--- { currentScopePath = pushScope (NonEmpty.singleton objName) (currentScopePath ls),
--- currentQualifiedPath =
--- q
--- { objectPart = objName
--- }
--- }
--- )
-
pushRegister :: String -> LocalState -> (QualifiedPath String, LocalState)
pushRegister regName ls =
let q = currentQualifiedPath ls