From cb1b46787519585385c4a47d723bffa2bac3d55c Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Sun, 16 Mar 2014 00:54:14 +0100 Subject: [PATCH] Trim zero character --- src/main/java/org/z3950/zing/cql/CQLLexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/z3950/zing/cql/CQLLexer.java b/src/main/java/org/z3950/zing/cql/CQLLexer.java index c285902..af61f3f 100644 --- a/src/main/java/org/z3950/zing/cql/CQLLexer.java +++ b/src/main/java/org/z3950/zing/cql/CQLLexer.java @@ -26,7 +26,7 @@ public class CQLLexer implements CQLTokenizer { @Override public void move() { //eat whitespace - while (qi < ql && strchr(" \t\r\n", qs.charAt(qi))) + while (qi < ql && strchr(" \t\r\n\0", qs.charAt(qi))) qi++; //eof if (qi == ql) { -- 1.7.10.4