diff options
author | cderrien <65495526+cderrien@users.noreply.github.com> | 2022-11-08 08:02:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 08:02:39 +0100 |
commit | 33b400ad884ee8f9a9c01c3d47968eea7dcd3db2 (patch) | |
tree | 234d519d805d8cedc005df757b9b925301a47876 /src/synth/synth-vhdl_stmts.adb | |
parent | 640e4c13fc8bd1fd7a0bfddddf7c851b2b171135 (diff) | |
download | ghdl-33b400ad884ee8f9a9c01c3d47968eea7dcd3db2.tar.gz ghdl-33b400ad884ee8f9a9c01c3d47968eea7dcd3db2.tar.bz2 ghdl-33b400ad884ee8f9a9c01c3d47968eea7dcd3db2.zip |
Added id to warnings related to attributes. (#2242)
Diffstat (limited to 'src/synth/synth-vhdl_stmts.adb')
-rw-r--r-- | src/synth/synth-vhdl_stmts.adb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_stmts.adb b/src/synth/synth-vhdl_stmts.adb index 54936e140..18525a4b6 100644 --- a/src/synth/synth-vhdl_stmts.adb +++ b/src/synth/synth-vhdl_stmts.adb @@ -4616,7 +4616,11 @@ package body Synth.Vhdl_Stmts is -- Applies to nets/ports. null; when others => - Warning_Msg_Synth (+Spec, "unhandled attribute %i", (1 => +Id)); + Warning_Msg_Synth + (Warnid_Unhandled_Attribute, + +Spec, + "unhandled attribute %i", + (1 => +Id)); end case; Val := Get_Value_Chain (Val); end loop; |