summaryrefslogtreecommitdiff
path: root/src/Language/Fiddle/Compiler/Expansion.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Language/Fiddle/Compiler/Expansion.hs')
-rw-r--r--src/Language/Fiddle/Compiler/Expansion.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Language/Fiddle/Compiler/Expansion.hs b/src/Language/Fiddle/Compiler/Expansion.hs
index ca97fc4..11a68be 100644
--- a/src/Language/Fiddle/Compiler/Expansion.hs
+++ b/src/Language/Fiddle/Compiler/Expansion.hs
@@ -91,7 +91,7 @@ instance AdvanceStage CurrentStage ObjTypeDecl where
return
. case t of
TypeSubStructure {subStructureName = (Just n)} -> pushId n
- RegisterDecl {regIdent = (Just n)} -> pushId n
+ RegisterDecl {regIdent = (Perhaps (Just n))} -> pushId n
_ -> id
instance AdvanceStage CurrentStage FiddleDecl where