aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorOndrej Ille <ondrej.ille@gmail.com>2021-04-10 12:04:38 +0200
committertgingold <tgingold@users.noreply.github.com>2021-04-11 08:41:10 +0200
commitf41b7c02acd9defa943fd7492ca9b97a8a7908b5 (patch)
treea865de7d64c076d454d45bdf6b0b0063fe811784 /src/vhdl
parent4db4532626c97a24037dd855e8044ad0639e3a71 (diff)
downloadghdl-f41b7c02acd9defa943fd7492ca9b97a8a7908b5.tar.gz
ghdl-f41b7c02acd9defa943fd7492ca9b97a8a7908b5.tar.bz2
ghdl-f41b7c02acd9defa943fd7492ca9b97a8a7908b5.zip
src: Clarify error for conditional signal assignment.
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/vhdl-parse.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-parse.adb b/src/vhdl/vhdl-parse.adb
index d3cc8e0b2..228bb29af 100644
--- a/src/vhdl/vhdl-parse.adb
+++ b/src/vhdl/vhdl-parse.adb
@@ -7393,7 +7393,8 @@ package body Vhdl.Parse is
end if;
Set_Waveform_Chain (Stmt, Wave_Chain);
elsif Get_Kind (Wave_Chain) = Iir_Kind_Conditional_Waveform then
- Check_Vhdl_At_Least_2008 ("conditional signal assignemnt");
+ Check_Vhdl_At_Least_2008
+ ("conditional signal assignment in sequential statement");
N_Stmt :=
Create_Iir (Iir_Kind_Conditional_Signal_Assignment_Statement);
Location_Copy (N_Stmt, Stmt);