diff --git a/app/PdePreprocessor.java b/app/PdePreprocessor.java index a79d23499..0ee8e8b0e 100644 --- a/app/PdePreprocessor.java +++ b/app/PdePreprocessor.java @@ -62,6 +62,8 @@ public class PdePreprocessor { static final int INTERMEDIATE = 1; static final int ADVANCED = 2; + static int programType = -1; + String tempClass; String tempFilename; String tempClassFilename; @@ -130,7 +132,13 @@ public class PdePreprocessor { // start parsing at the compilationUnit non-terminal // - parser.pdeProgram(); + try { + parser.pdeProgram(); + } catch (Exception e) { + System.err.println("exception: " + e); + } + + System.err.println("programType = " + programType); // get ready to traverse the AST //