From e2dd7425bde564d5b1d85b1f71aadb50f22da4e2 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Mon, 18 Aug 2008 15:24:38 +0100 Subject: [PATCH] Add error messages for unsupported statement types --- tgt-vhdl/stmt.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tgt-vhdl/stmt.cc b/tgt-vhdl/stmt.cc index 371fc5cb5..dbfc205e3 100644 --- a/tgt-vhdl/stmt.cc +++ b/tgt-vhdl/stmt.cc @@ -674,6 +674,13 @@ int draw_stmt(vhdl_procedural *proc, stmt_container *container, case IVL_ST_CASEX: error("casex statement cannot be translated to VHDL"); return 1; + case IVL_ST_FORK: + error("fork statement cannot be translated to VHDL"); + return 1; + case IVL_ST_CASSIGN: + case IVL_ST_DEASSIGN: + error("continuous procedural assignment cannot be translated to VHDL"); + return 1; default: error("No VHDL translation for statement at %s:%d (type = %d)", ivl_stmt_file(stmt), ivl_stmt_lineno(stmt),