From cdb323b1dbfccbcff5c63804ff73e6e86e4d05e8 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 31 Jul 2016 17:17:00 +0200 Subject: Rewrite scan error messages: use formatting. --- src/vhdl/simulate/execution.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vhdl/simulate/execution.adb') diff --git a/src/vhdl/simulate/execution.adb b/src/vhdl/simulate/execution.adb index a788255d8..936cbd3f3 100644 --- a/src/vhdl/simulate/execution.adb +++ b/src/vhdl/simulate/execution.adb @@ -1470,8 +1470,8 @@ package body Execution is end; when others => - Error_Msg_Elab ("execute_implicit_function: unimplemented " & - Iir_Predefined_Functions'Image (Func), Expr); + Error_Msg_Elab (Expr, "execute_implicit_function: unimplemented " & + Iir_Predefined_Functions'Image (Func)); raise Internal_Error; end case; return Result; -- cgit v1.2.3