diff options
author | Shevek <[email protected]> | 2008-06-13 21:33:42 +0000 |
---|---|---|
committer | Shevek <[email protected]> | 2008-06-13 21:33:42 +0000 |
commit | 93808fc91f990dbc17a2bc2b350552d9dde89692 (patch) | |
tree | 508a92ebea86484622da1dff249fd118889f8bce /src/tests/org/anarres | |
parent | 4528d72b75208f21f8d5e7d72991b7d34b4e46cf (diff) |
implement Feature.CSYNTAX, Feature.KEEPCOMMENTS, etc
Diffstat (limited to 'src/tests/org/anarres')
-rw-r--r-- | src/tests/org/anarres/cpp/ErrorTestCase.java | 2 |
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); } |