(Not part of Communicator build.)

More functionality for debug print functions.
This commit is contained in:
norris 1998-06-18 00:04:38 +00:00
parent f9cf05a882
commit a004313509

View File

@ -1618,9 +1618,10 @@ LookupArgOrVar(JSContext *cx, JSAtom *atom, JSTreeContext *tc,
JSOp *opp, jsint *slotp)
{
JSObject *obj, *pobj;
JSFunction *fun;
JSScopeProperty *sprop;
obj = cx->fp->scopeChain;
obj = js_FindVariableScope(cx, &fun);
if (OBJ_GET_CLASS(cx, obj) != &js_FunctionClass)
return JS_TRUE;
if (InWithStatement(tc))