pike.git
/
src
/
docode.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/docode.c:2021:
else { struct pike_string *tmp; node *foo; emit0(F_MARK); PUSH_CLEANUP_FRAME(do_pop_mark, 0); do_docode(CAR(n),0); do_docode(CDR(n),0);
-
tmp=findstring("call_function");
-
if(!tmp) yyerror("No call_function efun.");
-
foo=find_module_identifier(
tmp
,0);
+
foo=find_module_identifier(
lfun_strings[LFUN_CALL]
,0);
if(!foo || foo->token!=F_CONSTANT) {
-
yyerror("No
call_function
efun.");
+
yyerror("No
`()
efun.");
}else{ if(TYPEOF(foo->u.sval) == T_FUNCTION && SUBTYPEOF(foo->u.sval) == FUNCTION_BUILTIN && foo->u.sval.u.efun->function == f_call_function) { emit0(F_CALL_FUNCTION); }else{ /* We might want to put "predef::"+foo->name here /Hubbe */ tmp1=store_constant(& foo->u.sval, 1, foo->name); emit1(F_APPLY, (INT32)tmp1);