aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-05-27 02:33:20 +0200
committerTristan Gingold <tgingold@free.fr>2015-05-27 02:33:20 +0200
commit5f17068849547fa1ce7bfd6320188d9317aba7ec (patch)
tree8e502bcfaa70e022eec1ad41c66fd1091c25dc77 /src/vhdl
parentcf93c28809e41da171abfd6a6db5622f27b61e32 (diff)
downloadghdl-5f17068849547fa1ce7bfd6320188d9317aba7ec.tar.gz
ghdl-5f17068849547fa1ce7bfd6320188d9317aba7ec.tar.bz2
ghdl-5f17068849547fa1ce7bfd6320188d9317aba7ec.zip
Add comments.
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/sem_expr.adb1
-rw-r--r--src/vhdl/sem_names.adb1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb
index 8a7239a0f..474980c6c 100644
--- a/src/vhdl/sem_expr.adb
+++ b/src/vhdl/sem_expr.adb
@@ -1588,6 +1588,7 @@ package body Sem_Expr is
-- If there are two functions, one primitive of a universal
-- type and the other not, return the primitive of the universal type.
-- This implements implicit type conversions rules.
+ -- Cf Sem_Names.Extract_Call_Without_Implicit_Conversion
function Get_Non_Implicit_Subprogram (List : Iir_List) return Iir
is
El : Iir;
diff --git a/src/vhdl/sem_names.adb b/src/vhdl/sem_names.adb
index 5f3854a96..4ab239067 100644
--- a/src/vhdl/sem_names.adb
+++ b/src/vhdl/sem_names.adb
@@ -181,6 +181,7 @@ package body Sem_Names is
-- conversion. Return Null_Iir if there is no function call, or if there
-- is an expressions that isn't a function call, or if there is more than
-- one function call without implicit conversion.
+ -- Cf Sem_Expr.Get_Non_Implicit_Subprogram
function Extract_Call_Without_Implicit_Conversion (Res : Iir) return Iir
is
pragma Assert (Is_Overload_List (Res));