diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-07-01 06:41:40 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-07-01 06:41:40 +0200 |
commit | 66ed6fde81cc4774ac806369e21098252b97cce7 (patch) | |
tree | b10c56e847d0923333626008481cb5bc4e60aed3 /src | |
parent | 860fcd60a395d0e3f599b5ae7bb47a4792fd9647 (diff) | |
download | ghdl-66ed6fde81cc4774ac806369e21098252b97cce7.tar.gz ghdl-66ed6fde81cc4774ac806369e21098252b97cce7.tar.bz2 ghdl-66ed6fde81cc4774ac806369e21098252b97cce7.zip |
vhdl: Relax check for locally static attribute specification in entities.
Fix #1385
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/vhdl-sem_specs.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vhdl/vhdl-sem_specs.adb b/src/vhdl/vhdl-sem_specs.adb index 62267ad59..22f8977b2 100644 --- a/src/vhdl/vhdl-sem_specs.adb +++ b/src/vhdl/vhdl-sem_specs.adb @@ -836,10 +836,10 @@ package body Vhdl.Sem_Specs is | Tok_Architecture | Tok_Configuration => if Get_Expr_Staticness (Expr) /= Locally then - Error_Msg_Sem - (+Spec, + Error_Msg_Sem_Relaxed + (Spec, Warnid_Attribute, "attribute expression for %t must be locally static", - +Get_Entity_Class (Spec)); + (1 => +Get_Entity_Class (Spec))); end if; when others => null; |