Hmmm, new changes these are.

This commit is contained in:
rogerl@netscape.com
1999-05-26 01:01:07 +00:00
parent 0b3b99961a
commit ba395e95da
13 changed files with 226 additions and 144 deletions
+1 -1
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)