Add error messages for unsupported statement types

This commit is contained in:
Nick Gasson 2008-08-18 15:24:38 +01:00
parent e01b16e586
commit e2dd7425bd
1 changed files with 7 additions and 0 deletions

View File

@ -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),