diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-08-07 07:42:50 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-08-07 10:00:14 +0200 |
commit | 6ccf73f59f9945974c63a47b5b295a37627fae91 (patch) | |
tree | 97a8a61b3754a39c395b06c877877bc17e25cef2 /src/vhdl | |
parent | ef5e4cf601e9a63464b7f3438a11287c7565e785 (diff) | |
download | ghdl-6ccf73f59f9945974c63a47b5b295a37627fae91.tar.gz ghdl-6ccf73f59f9945974c63a47b5b295a37627fae91.tar.bz2 ghdl-6ccf73f59f9945974c63a47b5b295a37627fae91.zip |
vhdl-sem.adb: lexical conformance is now a relaxed error. Fix #2165
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-sem.adb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vhdl/vhdl-sem.adb b/src/vhdl/vhdl-sem.adb index e6c003003..1389cebb1 100644 --- a/src/vhdl/vhdl-sem.adb +++ b/src/vhdl/vhdl-sem.adb @@ -1704,8 +1704,9 @@ package body Vhdl.Sem is begin if not Are_Trees_Equal (Subprg, Spec) then -- FIXME: should explain why it does not conform ? - Error_Msg_Sem - (+Subprg, "body of %n does not conform with specification at %l", + Error_Msg_Sem_Relaxed + (Subprg, Warnid_Conformance, + "body of %n does not conform with specification at %l", (+Subprg, +Spec)); end if; end Check_Conformance_Rules; |