aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-05-23 08:01:30 +0200
committerTristan Gingold <tgingold@free.fr>2015-05-23 08:01:30 +0200
commitb8a48a6144a988904867fb044fbe2cb9f7d2750a (patch)
tree1ad4dd9eb9d685e4d86e734291bdcda94b68f7a6 /src/vhdl/sem_expr.adb
parent6d809ee2e64d5033b62db219f86707e30babe381 (diff)
downloadghdl-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.adb8
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);