X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FParser.java;fp=src%2Forg%2Fibex%2Fjs%2FParser.java;h=a00f3a01ed00e3c5de71c7ef7e8bf0bac1ac5ca3;hb=ccf0715e9a34f491fa2c52f5f1ba90fd371b7c51;hp=6b37917d6a5dbb515a75128409a69e93a85810df;hpb=fde6b3de28aa22d4309aca1de7cbdfc35042f1f4;p=org.ibex.core.git diff --git a/src/org/ibex/js/Parser.java b/src/org/ibex/js/Parser.java index 6b37917..a00f3a0 100644 --- a/src/org/ibex/js/Parser.java +++ b/src/org/ibex/js/Parser.java @@ -72,7 +72,7 @@ class Parser extends Lexer implements ByteCodes { public Parser(Reader r, String sourceName, int line) throws IOException { super(r, sourceName, line); } /** for debugging */ - public static void main(String[] s) throws Exception { + public static void main(String[] s) throws IOException { JS block = JS.fromReader("stdin", 0, new InputStreamReader(System.in)); if (block == null) return; System.out.println(block);