aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-04-06 16:09:32 +0200
committerTristan Gingold <tgingold@free.fr>2019-04-06 16:09:32 +0200
commit44ef5328fbae25ac727ddeedae1ca03ff1b47d08 (patch)
treec46780b7da03d17c9327dbd3b6eb0284009848e9
parent0e040792238fc3b26937a7725f4141fc5bdab89b (diff)
downloadghdl-44ef5328fbae25ac727ddeedae1ca03ff1b47d08.tar.gz
ghdl-44ef5328fbae25ac727ddeedae1ca03ff1b47d08.tar.bz2
ghdl-44ef5328fbae25ac727ddeedae1ca03ff1b47d08.zip
vhdl: handle interface procedure for purity checks. Fix #791
-rw-r--r--src/vhdl/sem_expr.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb
index 1aeaf0e2d..e26739bde 100644
--- a/src/vhdl/sem_expr.adb
+++ b/src/vhdl/sem_expr.adb
@@ -1031,6 +1031,9 @@ package body Sem_Expr is
Error_Kind ("sem_call_purity_check(2)", Subprg);
end case;
end;
+ when Iir_Kind_Interface_Procedure_Declaration =>
+ -- We have no idea about this procedure.
+ null;
when others =>
Error_Kind ("sem_call_purity_check", Callee);
end case;