projects
/
org.ibex.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e832a
)
fix bug: LoopMarker is not an instance of JS (yet)
author
adam
<adam@megacz.com>
Mon, 17 Jan 2005 01:00:11 +0000
(
01:00
+0000)
committer
adam
<adam@megacz.com>
Mon, 17 Jan 2005 01:00:11 +0000
(
01:00
+0000)
darcs-hash:
20050117010011
-5007d-
e1bf1a24f34bf68d77e3d74da72d1c08a56f2ac0
.gz
src/org/ibex/js/Interpreter.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/js/Interpreter.java
b/src/org/ibex/js/Interpreter.java
index
26521fa
..
8ebbde0
100644
(file)
--- a/
src/org/ibex/js/Interpreter.java
+++ b/
src/org/ibex/js/Interpreter.java
@@
-159,7
+159,7
@@
class Interpreter implements ByteCodes, Tokens, Pausable {
case BREAK:
case CONTINUE:
while(!stack.empty()) {
- JS o = (JS)stack.pop();
+ Object o = stack.pop();
if (o instanceof CallMarker) je("break or continue not within a loop");
if (o instanceof TryMarker) {
if(((TryMarker)o).finallyLoc < 0) continue; // no finally block, keep going