aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
parent24cb38b8398ddc3bc70a544c98a0acb3366ff8bc (diff)
stop OOBE on high chars
Diffstat (limited to 'src')
-rw-r--r--src/java/org/anarres/cpp/Token.java2
1 files changed, 1 insertions, 1 deletions
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);
}
/**