summaryrefslogtreecommitdiff
path: root/src/vhdl/errorout.adb
diff options
context:
space:
mode:
authorTristan Gingold2015-01-03 11:59:43 +0100
committerTristan Gingold2015-01-03 11:59:43 +0100
commit3fea917ef9a145d448ab2dd5d83d7ac7de280602 (patch)
treea83cb707f28c353b6bedde63b500dc1562d8adf3 /src/vhdl/errorout.adb
parent4e27c73749284b46b899851f3b1ef00fe5187b47 (diff)
downloadghdl-3fea917ef9a145d448ab2dd5d83d7ac7de280602.tar.gz
ghdl-3fea917ef9a145d448ab2dd5d83d7ac7de280602.tar.bz2
ghdl-3fea917ef9a145d448ab2dd5d83d7ac7de280602.zip
Initial rework for vhdl 2008 generate statements.
Diffstat (limited to 'src/vhdl/errorout.adb')
-rw-r--r--src/vhdl/errorout.adb7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/errorout.adb b/src/vhdl/errorout.adb
index c059c52..0923c59 100644
--- a/src/vhdl/errorout.adb
+++ b/src/vhdl/errorout.adb
@@ -662,7 +662,12 @@ package body Errorout is
when Iir_Kind_Concurrent_Procedure_Call_Statement =>
return "concurrent procedure call";
- when Iir_Kind_Generate_Statement =>
+ when Iir_Kind_For_Generate_Statement =>
+ return "for generate statement";
+ when Iir_Kind_If_Generate_Statement
+ | Iir_Kind_If_Generate_Else_Clause =>
+ return "if generate statement";
+ when Iir_Kind_Generate_Statement_Body =>
return "generate statement";
when Iir_Kind_Simple_Simultaneous_Statement =>