From 15ab0955dd6da2ff0bdad791b190a93039e8edbd Mon Sep 17 00:00:00 2001 From: Shevek Date: Fri, 6 Feb 2009 01:14:37 +0000 Subject: stop OOBE on high chars --- etc/build.properties | 2 +- src/java/org/anarres/cpp/Token.java | 2 +- 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); } /** -- cgit v1.2.3