From 62dffb99e29eba9004ef2764fbdd9b0462de4742 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Thu, 17 Oct 2024 00:36:03 -0600 Subject: Add ContExpression syntax tree. This is for expressions which must be calculatable at compile time. --- src/Language/Fiddle/Compiler/ImportResolution.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Language/Fiddle/Compiler/ImportResolution.hs') diff --git a/src/Language/Fiddle/Compiler/ImportResolution.hs b/src/Language/Fiddle/Compiler/ImportResolution.hs index a27a1dc..2568025 100644 --- a/src/Language/Fiddle/Compiler/ImportResolution.hs +++ b/src/Language/Fiddle/Compiler/ImportResolution.hs @@ -111,6 +111,8 @@ deriving instance AdvanceStage CurrentStage AnonymousBitsType deriving instance AdvanceStage CurrentStage BitType +deriving instance AdvanceStage CurrentStage (ConstExpression u) + deriving instance AdvanceStage CurrentStage EnumBody deriving instance AdvanceStage CurrentStage EnumConstantDecl -- cgit