aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-decls.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-10 18:28:40 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-10 18:28:40 +0200
commit5d43f82f6afe21cc874309e280e31a4f51439502 (patch)
tree3aaf082aa2bb2e6fb7251a224151a37b8429872e /src/synth/synth-decls.adb
parent2edfc6c75d5bddbe9dd613e9b2d7d38393b269a9 (diff)
downloadghdl-5d43f82f6afe21cc874309e280e31a4f51439502.tar.gz
ghdl-5d43f82f6afe21cc874309e280e31a4f51439502.tar.bz2
ghdl-5d43f82f6afe21cc874309e280e31a4f51439502.zip
synth-decls: ignore use clauses.
Diffstat (limited to 'src/synth/synth-decls.adb')
-rw-r--r--src/synth/synth-decls.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb
index 99e6d3d9b..b7aade231 100644
--- a/src/synth/synth-decls.adb
+++ b/src/synth/synth-decls.adb
@@ -662,6 +662,8 @@ package body Synth.Decls is
when Iir_Kind_Psl_Default_Clock =>
-- Ignored; directly used by PSL directives.
null;
+ when Iir_Kind_Use_Clause =>
+ null;
when others =>
Error_Kind ("synth_declaration", Decl);
end case;