Hmmm, new changes these are.

git-svn-id: svn://10.0.0.236/trunk@32641 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-05-26 01:01:07 +00:00
parent 5bd2264bd8
commit 300d6f0885
13 changed files with 226 additions and 144 deletions

View File

@@ -28,7 +28,7 @@ class SwitchNode extends ControlNode {
ExpressionNode e = (ExpressionNode)(caseExpr.elementAt(i));
e.eval(theEnv);
v.eq(theEnv);
if (theEnv.theStack.pop().toJSBoolean().isTrue())
if (theEnv.theStack.pop().toJSBoolean(theEnv).isTrue())
return (ControlNode)(caseCode.elementAt(i));
}
if (defaultCode != null)