aboutsummaryrefslogtreecommitdiffstats
path: root/sem_types.adb
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2006-11-18 20:33:16 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2006-11-18 20:33:16 +0000
commit301584eaf540c982676f520d662b473e59890584 (patch)
tree3c8a80a0b57610fcb0e12a4f8985764fae538aa7 /sem_types.adb
parentb9d724056d765418acf57c2fa7a79b7ef7e73721 (diff)
downloadghdl-301584eaf540c982676f520d662b473e59890584.tar.gz
ghdl-301584eaf540c982676f520d662b473e59890584.tar.bz2
ghdl-301584eaf540c982676f520d662b473e59890584.zip
SEH handled
Bug fixes
Diffstat (limited to 'sem_types.adb')
-rw-r--r--sem_types.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/sem_types.adb b/sem_types.adb
index 9b35cc660..d7172c4bf 100644
--- a/sem_types.adb
+++ b/sem_types.adb
@@ -62,7 +62,9 @@ package body Sem_Types is
Func := Get_Resolution_Function (Atype);
if Func /= Null_Iir then
Func := Get_Named_Entity (Func);
- Set_Resolution_Function_Flag (Func, True);
+ if Func /= Error_Mark then
+ Set_Resolution_Function_Flag (Func, True);
+ end if;
end if;
Mark := Get_Type_Mark (Atype);
if Mark /= Null_Iir then