X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FLexer.java;h=ac6f6e1e25ba7ea999091a5cbb4521f696cf051d;hp=bf350db7009a019d8024bedc02a90d12f19f3a08;hb=2fecdbcb19c71c09b252e1ecdb30f1d8e28cd845;hpb=ccf0715e9a34f491fa2c52f5f1ba90fd371b7c51 diff --git a/src/org/ibex/js/Lexer.java b/src/org/ibex/js/Lexer.java index bf350db..ac6f6e1 100644 --- a/src/org/ibex/js/Lexer.java +++ b/src/org/ibex/js/Lexer.java @@ -43,7 +43,7 @@ class Lexer implements Tokens { protected String string = null; /** the line number of the most recently lexed token */ - private int line = 0; + protected int line = 0; /** the line number of the most recently parsed token */ protected int parserLine = 0; @@ -202,7 +202,6 @@ class Lexer implements Tokens { private int getString(int c) throws IOException { StringBuffer stringBuf = null; int quoteChar = c; - int val = 0; c = in.read(); in.startString(); // start after the first " while(c != quoteChar) {