Compiler: Stop filtering lfun prototypes from the lfun table.

Fixes warnings in Tools.Standalone.test_pike (which has an abstract
base class with prototypes for lfuns).
parent cc20be7b
......@@ -8013,11 +8013,13 @@ PMOD_EXPORT int low_find_lfun(struct program *p, enum LFUN lfun)
return i;
}
id = ID_FROM_INT(p, i);
#if 0
if (IDENTIFIER_IS_PIKE_FUNCTION(id->identifier_flags) &&
(id->func.offset == -1)) {
/* Function prototype. */
return -1;
}
#endif /* 0 */
return i;
}
#ifdef PIKE_DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment