pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2016-08-22
2016-08-22 22:22:55 by Martin Nilsson <nilsson@fastmail.com>
531bc96a3239384d54bcb6f3fece46bf65537e18 (
7
lines) (+
3
/-
4
)
[
Show
|
Annotate
]
Branch:
8.1
Use () instead of call_function.
2028:
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 &&