aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
/**