X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FLexer.java;fp=src%2Forg%2Fibex%2Fjs%2FLexer.java;h=bf350db7009a019d8024bedc02a90d12f19f3a08;hb=ccf0715e9a34f491fa2c52f5f1ba90fd371b7c51;hp=6e77eb76ed5512bb620ec318f15aee7549d1337c;hpb=fde6b3de28aa22d4309aca1de7cbdfc35042f1f4;p=org.ibex.core.git diff --git a/src/org/ibex/js/Lexer.java b/src/org/ibex/js/Lexer.java index 6e77eb7..bf350db 100644 --- a/src/org/ibex/js/Lexer.java +++ b/src/org/ibex/js/Lexer.java @@ -24,7 +24,7 @@ import java.io.*; class Lexer implements Tokens { /** for debugging */ - public static void main(String[] s) throws Exception { + public static void main(String[] s) throws IOException { Lexer l = new Lexer(new InputStreamReader(System.in), "stdin", 0); int tok = 0; while((tok = l.getToken()) != -1) System.out.println(codeToString[tok]);