From ad974b359fca4ce113ff237f5447ce47ebcb9b18 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Thu, 9 Feb 2006 02:32:54 +0000 Subject: [PATCH] update Main VS: Committing in Main --- Robust/src/Main/Main.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Robust/src/Main/Main.java b/Robust/src/Main/Main.java index 39fcaf7b..0a88de6b 100644 --- a/Robust/src/Main/Main.java +++ b/Robust/src/Main/Main.java @@ -3,6 +3,7 @@ package Main; import java.io.Reader; import java.io.BufferedReader; import java.io.FileReader; +import Tree.ParseNode; /* Test skeleton for java parser/lexer. * Copyright (C) 1998 C. Scott Ananian @@ -20,7 +21,8 @@ public class Main { Lex.Lexer l = new Lex.Lexer(fr); java_cup.runtime.lr_parser g; g = new Parse.Parser(l); - g./*debug_*/parse(); + ParseNode p=(ParseNode) g./*debug_*/parse().value; + System.out.println(p.PPrint(4,true)); System.exit(l.numErrors()); } } -- 2.34.1