summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingold2008-07-22 02:28:10 +0000
committergingold2008-07-22 02:28:10 +0000
commit2bea98b5e766aac1cd016a7088cf5f7f1a3e2b74 (patch)
tree34de748fd1341fa97e12105f7874b2be054df9cd
parentd8c55c69851314273518efcba41b15abf28e7763 (diff)
downloadghdl-2bea98b5e766aac1cd016a7088cf5f7f1a3e2b74.tar.gz
ghdl-2bea98b5e766aac1cd016a7088cf5f7f1a3e2b74.tar.bz2
ghdl-2bea98b5e766aac1cd016a7088cf5f7f1a3e2b74.zip
Handle 'pos/'leftof/'rightof/'succ/'prev attributes.
-rw-r--r--canon.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/canon.adb b/canon.adb
index 5b2df9c..1836992 100644
--- a/canon.adb
+++ b/canon.adb
@@ -239,6 +239,10 @@ package body Canon is
--Canon_Extract_Sensitivity
-- (Get_Prefix (Expr), Sensitivity_List, Is_Target);
+ when Iir_Kinds_Scalar_Type_Attribute =>
+ Canon_Extract_Sensitivity
+ (Get_Parameter (Expr), Sensitivity_List, Is_Target);
+
when Iir_Kind_Aggregate =>
declare
Aggr_Type : Iir;