From: Jakub Skoczen Date: Sat, 15 Mar 2014 23:54:14 +0000 (+0100) Subject: Trim zero character X-Git-Tag: v1.12~9 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=cb1b46787519585385c4a47d723bffa2bac3d55c;p=cql-java-moved-to-github.git Trim zero character --- 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) {