diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-10-29 18:51:08 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-10-29 18:51:08 +0200 |
commit | 9e1a00242c2db408bb707e65787862fda3db3fc7 (patch) | |
tree | 3d6a9268eede32563b1ed360c8f30a72b1bc4648 /src/synth/synth-vhdl_stmts.adb | |
parent | e14d7e6725f6e2e4c7af1639372c0d643fbc3331 (diff) | |
download | ghdl-9e1a00242c2db408bb707e65787862fda3db3fc7.tar.gz ghdl-9e1a00242c2db408bb707e65787862fda3db3fc7.tar.bz2 ghdl-9e1a00242c2db408bb707e65787862fda3db3fc7.zip |
synth: reject wait statement. Fix #1903
Diffstat (limited to 'src/synth/synth-vhdl_stmts.adb')
-rw-r--r-- | src/synth/synth-vhdl_stmts.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/synth-vhdl_stmts.adb b/src/synth/synth-vhdl_stmts.adb index cd27c4c5d..81394abdb 100644 --- a/src/synth/synth-vhdl_stmts.adb +++ b/src/synth/synth-vhdl_stmts.adb @@ -3015,6 +3015,9 @@ package body Synth.Vhdl_Stmts is else Synth_Static_Exit_Next_Statement (C, Stmt); end if; + when Iir_Kind_Wait_Statement => + Error_Msg_Synth + (+Stmt, "wait statement not allowed for synthesis"); when others => Error_Kind ("synth_sequential_statements", Stmt); end case; |