X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fjs%2FForthBlock.java;h=b923f8ffb989fd7642fce466580e41998df9bcf2;hp=f1f1e0a4d46d3d4943b8b0ea650fcec8ae856b64;hb=78f2a3c2e015eeb527fc29898f1e88c9760b7beb;hpb=3734845964723dd29be220bb562c02af2158899d diff --git a/src/org/xwt/js/ForthBlock.java b/src/org/xwt/js/ForthBlock.java index f1f1e0a..b923f8f 100644 --- a/src/org/xwt/js/ForthBlock.java +++ b/src/org/xwt/js/ForthBlock.java @@ -38,14 +38,7 @@ class ForthBlock implements OpCodes, Tokens { case LITERAL: t.push(arg[i]); break; case OBJECT: t.push(new JS.Obj()); break; case ARRAY: t.push(new JS.Array(JS.toNumber(arg[i]).intValue())); break; - case DECLARE: { - String st = (String)t.pop(); - if (st.equals("sel")) { - System.out.println("**** SEL!"); - for(int j=0; j<4; j++) System.out.println(op[i+j] + " " + arg[i+j]); - } - s.declare(st); break; - } + case DECLARE: s.declare((String)t.pop()); break; case THIS: t.push(s); break; // FIXME: transparents case JT: if (JS.toBoolean(t.pop())) i += JS.toNumber(arg[i]).intValue() - 1; break; case JF: if (!JS.toBoolean(t.pop())) i += JS.toNumber(arg[i]).intValue() - 1; break;