summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShevek <[email protected]>2009-02-06 01:14:37 +0000
committerShevek <[email protected]>2009-02-06 01:14:37 +0000
commit15ab0955dd6da2ff0bdad791b190a93039e8edbd (patch)
treee0cfe74ed938f63905e59e8692f69dca478730a1
parent24cb38b8398ddc3bc70a544c98a0acb3366ff8bc (diff)
stop OOBE on high chars
-rw-r--r--etc/build.properties2
-rw-r--r--src/java/org/anarres/cpp/Token.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/build.properties b/etc/build.properties
index a5b92cf..4d465d7 100644
--- a/etc/build.properties
+++ b/etc/build.properties
@@ -1,4 +1,4 @@
-global.version = 1.2.4
+global.version = 1.2.5
global.name = anarres-cpp
global.dir.arch = ${global.dir.root}/arch
diff --git a/src/java/org/anarres/cpp/Token.java b/src/java/org/anarres/cpp/Token.java
index bb56531..0dca7ff 100644
--- a/src/java/org/anarres/cpp/Token.java
+++ b/src/java/org/anarres/cpp/Token.java
@@ -54,7 +54,7 @@ public final class Token {
}
/* pp */ Token(int type) {
- this(type, texts[type]);
+ this(type, type < _TOKENS ? texts[type] : "TOK" + type);
}
/**