Index: prolang.y
===================================================================
--- prolang.y	(Revision 22)
+++ prolang.y	(Arbeitskopie)
@@ -15084,7 +15084,8 @@
 
                 /* Handle the non-lfun aspects of the identifier */
                 {
-                    if ((n != I_GLOBAL_FUNCTION_OTHER || p->u.global.efun < 0)
+                    if (n != I_GLOBAL_FUNCTION_OTHER
+                     || (p->u.global.efun < 0 && p->u.global.sim_efun < 0)
                      || (fun.flags & (TYPE_MOD_PRIVATE|NAME_HIDDEN)) == 0
                      || (fun.flags & (NAME_UNDEFINED)) != 0
                        )
