aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/iirs_utils.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-02-03 14:49:53 +0100
committerTristan Gingold <tgingold@free.fr>2018-02-03 14:49:53 +0100
commit2f647d9fd9d6f15dfaf2d9a8971f8e3f36563b60 (patch)
tree2cd18714bf11368e4f556795bd240157ff20a547 /src/vhdl/iirs_utils.adb
parentfe8a650f08a4e091a04f063bc1a4f18928a35c9d (diff)
downloadghdl-2f647d9fd9d6f15dfaf2d9a8971f8e3f36563b60.tar.gz
ghdl-2f647d9fd9d6f15dfaf2d9a8971f8e3f36563b60.tar.bz2
ghdl-2f647d9fd9d6f15dfaf2d9a8971f8e3f36563b60.zip
Improve handling of implicit condition.
Avoid a crash on aggregate (fix #524) Improve error message if operator is not found Don't print operator with --reprint.
Diffstat (limited to 'src/vhdl/iirs_utils.adb')
-rw-r--r--src/vhdl/iirs_utils.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/iirs_utils.adb b/src/vhdl/iirs_utils.adb
index 2b4c87422..ecb90a517 100644
--- a/src/vhdl/iirs_utils.adb
+++ b/src/vhdl/iirs_utils.adb
@@ -177,7 +177,8 @@ package body Iirs_Utils is
return Name_Op_Plus;
when Iir_Kind_Absolute_Operator =>
return Name_Abs;
- when Iir_Kind_Condition_Operator =>
+ when Iir_Kind_Condition_Operator
+ | Iir_Kind_Implicit_Condition_Operator =>
return Name_Op_Condition;
when others =>
raise Internal_Error;