Properly render string tokens
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / CQLLexer.java
index 669dde7..cb990cd 100644 (file)
@@ -141,7 +141,7 @@ public class CQLLexer implements CQLTokenizer {
         return "EOF";
       case TT_WORD:
         return "word: '" + val + "'";
-      case '"':
+      case TT_STRING:
         return "string: \"" + val + "\"";
       case TT_LE:
         return "<=";