Code

for validation
authorishmal <ishmal@users.sourceforge.net>
Wed, 18 Jun 2008 22:39:10 +0000 (22:39 +0000)
committerishmal <ishmal@users.sourceforge.net>
Wed, 18 Jun 2008 22:39:10 +0000 (22:39 +0000)
src/dom/work/Main.java [new file with mode: 0644]

diff --git a/src/dom/work/Main.java b/src/dom/work/Main.java
new file mode 100644 (file)
index 0000000..d4d9177
--- /dev/null
@@ -0,0 +1,15 @@
+import java.io.*;\r
+import antlr.*;\r
+\r
+public class Main {\r
+  public static void main(String[] args) {\r
+    try {\r
+      IDLLexer lexer = new IDLLexer(new DataInputStream(System.in));\r
+      IDLParser parser = new IDLParser(lexer);\r
+      parser.specification();\r
+    } catch(Exception e) {\r
+      System.err.println("exception: "+e);\r
+    }\r
+  }\r
+}\r
+\r