projects
/
cql-java-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bf45f
)
Trim zero character
author
Jakub Skoczen
<jakub@indexdata.dk>
Sat, 15 Mar 2014 23:54:14 +0000
(
00:54
+0100)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Sat, 15 Mar 2014 23:54:14 +0000
(
00:54
+0100)
src/main/java/org/z3950/zing/cql/CQLLexer.java
patch
|
blob
|
history
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
(file)
--- 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) {