pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2018-02-22
2018-02-22 19:29:10 by Martin Nilsson <nilsson@fastmail.com>
782ed6c005874815f98e8f1a2aba1e0d1f2cc488 (
10
lines) (+
5
/-
5
)
[
Show
|
Annotate
]
Branch:
master
Remove base_sp from index_error
2588:
if (!end_or_none) { if (index < 0)
-
index_error("pike_frame->`[]",
Pike_sp-
args,
args,
NULL, Pike_sp-args,
+
index_error("pike_frame->`[]", args, NULL, Pike_sp-args,
"Indexing with negative index (%"PRINTPIKEINT"d)\n", index); else if (index >= numargs)
-
index_error("pike_frame->`[]",
Pike_sp-
args,
args,
NULL, Pike_sp-args,
+
index_error("pike_frame->`[]", args, NULL, Pike_sp-args,
"Indexing with too large index (%"PRINTPIKEINT"d)\n", index); } else end = end_or_none->u.integer;
2653:
numargs += THIS->args->size; if ((index < -numargs) || (index >= numargs))
-
index_error("pike_frame->`[]=",
Pike_sp-
args,
args,
NULL, Pike_sp-args,
+
index_error("pike_frame->`[]=", args, NULL, Pike_sp-args,
"Index %"PRINTPIKEINT"d is out of array range 0..%d,\n", index, numargs-1); else if (index < 0)
3747:
{ if(TYPEOF(tmpargs[e]) != T_ARRAY) index_error("__automap__",
-
Pike_sp-args,
+
args, tmpargs, NULL,