projects
/
cql-java-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extraneous blank line from end of XCQL output in test harness.
[cql-java-moved-to-github.git]
/
src
/
org
/
z3950
/
zing
/
cql
/
CQLLexer.java
diff --git
a/src/org/z3950/zing/cql/CQLLexer.java
b/src/org/z3950/zing/cql/CQLLexer.java
index
ce38eb6
..
8d054d9
100644
(file)
--- a/
src/org/z3950/zing/cql/CQLLexer.java
+++ b/
src/org/z3950/zing/cql/CQLLexer.java
@@
-1,4
+1,4
@@
-// $Id: CQLLexer.java,v 1.3 2002-11-01 23:45:28 mike Exp $
+// $Id: CQLLexer.java,v 1.4 2002-11-02 01:21:35 mike Exp $
package org.z3950.zing.cql;
import java.io.StreamTokenizer;
package org.z3950.zing.cql;
import java.io.StreamTokenizer;
@@
-80,6
+80,9
@@
class CQLLexer extends StreamTokenizer {
CQLLexer(String cql, boolean lexdebug) {
super(new StringReader(cql));
CQLLexer(String cql, boolean lexdebug) {
super(new StringReader(cql));
+ wordChars('!', '?'); // ASCII-dependency!
+ wordChars('[', '`'); // ASCII-dependency!
+ quoteChar('"');
ordinaryChar('=');
ordinaryChar('<');
ordinaryChar('>');
ordinaryChar('=');
ordinaryChar('<');
ordinaryChar('>');