aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/org')
-rw-r--r--src/tests/org/anarres/cpp/ErrorTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/org/anarres/cpp/ErrorTestCase.java b/src/tests/org/anarres/cpp/ErrorTestCase.java
index d7d01e8..6adc912 100644
--- a/src/tests/org/anarres/cpp/ErrorTestCase.java
+++ b/src/tests/org/anarres/cpp/ErrorTestCase.java
@@ -15,7 +15,7 @@ public class ErrorTestCase extends BaseTestCase {
Token tok = p.token();
if (tok.getType() == EOF)
break;
- else if (tok.getType() == ERROR)
+ else if (tok.getType() == INVALID)
throw new LexerException("Error token: " + tok);
}