Properly render string tokens
authorJakub Skoczen <jakub@indexdata.dk>
Mon, 17 Mar 2014 13:43:39 +0000 (14:43 +0100)
committerJakub Skoczen <jakub@indexdata.dk>
Mon, 17 Mar 2014 13:43:39 +0000 (14:43 +0100)
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 "<=";