diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-05-23 08:01:30 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-05-23 08:01:30 +0200 |
commit | b8a48a6144a988904867fb044fbe2cb9f7d2750a (patch) | |
tree | 1ad4dd9eb9d685e4d86e734291bdcda94b68f7a6 /src/vhdl/sem_expr.adb | |
parent | 6d809ee2e64d5033b62db219f86707e30babe381 (diff) | |
download | ghdl-b8a48a6144a988904867fb044fbe2cb9f7d2750a.tar.gz ghdl-b8a48a6144a988904867fb044fbe2cb9f7d2750a.tar.bz2 ghdl-b8a48a6144a988904867fb044fbe2cb9f7d2750a.zip |
Preliminary work to support external names (parse, semantic)
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r-- | src/vhdl/sem_expr.adb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index c8722b66a..bbc9aaa22 100644 --- a/src/vhdl/sem_expr.adb +++ b/src/vhdl/sem_expr.adb @@ -393,6 +393,8 @@ package body Sem_Expr is | Iir_Kind_Unit_Declaration | Iir_Kind_Enumeration_Literal => return Expr; + when Iir_Kinds_External_Name => + return Expr; when Iir_Kinds_Object_Declaration | Iir_Kind_Aggregate | Iir_Kind_Allocator_By_Expression @@ -3826,6 +3828,8 @@ package body Sem_Expr is return; when Iir_Kinds_Quantity_Declaration => return; + when Iir_Kinds_External_Name => + return; when Iir_Kind_File_Declaration | Iir_Kind_Interface_File_Declaration => -- LRM 4.3.2 Interface declarations @@ -4004,6 +4008,10 @@ package body Sem_Expr is return E; end; + when Iir_Kinds_External_Name => + Sem_External_Name (Expr); + return Expr; + when Iir_Kinds_Monadic_Operator => return Sem_Operator (Expr, A_Type, 1); |