From 3e1a82bdb8c8b482dc63aefff0eb6fcc81457c6f Mon Sep 17 00:00:00 2001 From: ishmal Date: Wed, 18 Jun 2008 22:39:10 +0000 Subject: [PATCH] for validation --- src/dom/work/Main.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/dom/work/Main.java diff --git a/src/dom/work/Main.java b/src/dom/work/Main.java new file mode 100644 index 000000000..d4d9177d3 --- /dev/null +++ b/src/dom/work/Main.java @@ -0,0 +1,15 @@ +import java.io.*; +import antlr.*; + +public class Main { + public static void main(String[] args) { + try { + IDLLexer lexer = new IDLLexer(new DataInputStream(System.in)); + IDLParser parser = new IDLParser(lexer); + parser.specification(); + } catch(Exception e) { + System.err.println("exception: "+e); + } + } +} + -- 2.30.2