pike.git/
src/
modules/
_Debug/
debug.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-26
2016-01-26 19:38:42 by Martin Nilsson <nilsson@fastmail.com>
f982748d494417b1d4d0e8285a03ae7acf5eacc6 (
13
lines) (+
7
/-
6
)
[
Show
|
Annotate
]
Branch:
8.1
SIMPLE_BAD_ARG_ERROR is only kept for compatibility, but we still had 500+ uses of it.
145:
case T_PROGRAM: tmp.u.program=tmp.u.program->next; break; case T_STRING: tmp.u.string=next_pike_string(tmp.u.string); break; default:
-
SIMPLE_
BAD_
ARG_ERROR("next", 1,
+
SIMPLE_ARG_
TYPE_
ERROR("next", 1,
"object|array|mapping|multiset|program|string"); }
193:
case T_MULTISET:tmp.u.multiset=tmp.u.multiset->prev; break; case T_PROGRAM: tmp.u.program=tmp.u.program->prev; break; default:
-
SIMPLE_
BAD_
ARG_ERROR("prev", 1, "object|array|mapping|multiset|program");
+
SIMPLE_ARG_
TYPE_
ERROR("prev", 1, "object|array|mapping|multiset|program");
} if(tmp.u.refs) assign_svalue(Pike_sp-1, &tmp);
214:
INT32 i; if(!REFCOUNTED_TYPE(TYPEOF(*val)))
-
SIMPLE_
BAD_
ARG_ERROR("leak", 1,
+
SIMPLE_ARG_
TYPE_
ERROR("leak", 1,
"array|mapping|multiset|object|" "function|program|string|type");