2003/06/09 03:13:18
[org.ibex.core.git] / src / org / xwt / js / Lexer.java
index f49310b..f7039f4 100644 (file)
@@ -396,7 +396,7 @@ class Lexer implements Tokens {
     public int getToken() throws IOException {
        number = null;
        string = null;
-       if (pushBackDepth == 0) return _getToken();
+       if (pushBackDepth == 0) return op = _getToken();
        pushBackDepth--;
        op = pushBackInts[pushBackDepth];
        if (pushBackObjects[pushBackDepth] != null) {
@@ -407,6 +407,6 @@ class Lexer implements Tokens {
     }
 
     class LexerException extends IOException {
-       public LexerException(String s) { super(sourceName + ":" + line + "," + col + " " + s); }
+       public LexerException(String s) { super(sourceName + ":" + line + "," + col + ": " + s); }
     }
 }