aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-10-13 05:18:28 +0200
committerTristan Gingold <tgingold@free.fr>2016-10-13 05:18:28 +0200
commit1336edad197f352ee9edc1ce8f6378fe7240df2c (patch)
tree15e234eb0d9000a8ed84cd6721776b1c67cf6b94
parente247deb3b2c78050702f96a98bd1c4f755334447 (diff)
downloadghdl-1336edad197f352ee9edc1ce8f6378fe7240df2c.tar.gz
ghdl-1336edad197f352ee9edc1ce8f6378fe7240df2c.tar.bz2
ghdl-1336edad197f352ee9edc1ce8f6378fe7240df2c.zip
iirs: condition_expression is a chain.
-rw-r--r--src/vhdl/iirs.ads2
-rw-r--r--src/vhdl/nodes_meta.adb2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdl/iirs.ads b/src/vhdl/iirs.ads
index 4c3ea7296..e3c298cf5 100644
--- a/src/vhdl/iirs.ads
+++ b/src/vhdl/iirs.ads
@@ -6658,7 +6658,7 @@ package Iirs is
-- A conditional expression.
-- Node kind is a Iir_Kind_Conditional_Expression.
- -- Field: Field5
+ -- Field: Field5 Chain
function Get_Conditional_Expression (Target : Iir) return Iir;
procedure Set_Conditional_Expression (Target : Iir; Expr : Iir);
diff --git a/src/vhdl/nodes_meta.adb b/src/vhdl/nodes_meta.adb
index 954610a6f..2ed58711b 100644
--- a/src/vhdl/nodes_meta.adb
+++ b/src/vhdl/nodes_meta.adb
@@ -1962,7 +1962,7 @@ package body Nodes_Meta is
when Field_Expression =>
return Attr_None;
when Field_Conditional_Expression =>
- return Attr_None;
+ return Attr_Chain;
when Field_Allocator_Designated_Type =>
return Attr_Ref;
when Field_Selected_Waveform_Chain =>