checking in dmose parser and changes to make it usable

This commit is contained in:
benfry
2003-09-02 01:53:44 +00:00
parent bb521be137
commit 1744dc8820
9 changed files with 527 additions and 296 deletions

View File

@@ -26,6 +26,7 @@
public class PdeException extends Exception {
int line = -1;
int column = -1;
public PdeException() { }
@@ -39,6 +40,13 @@ public class PdeException extends Exception {
this.line = line;
}
// 0060 currently only used by the new preprocessor
public PdeException(String message, int line, int column) {
super(massage(message));
this.line = line;
this.column = column;
}
// make static so that super() can call it
static public final String massage(String msg) {
if (msg.indexOf("java.lang.") == 0) {