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:
cdc52f3
)
Normalise relation modifiers to lower-case.
author
mike
<mike>
Fri, 8 Nov 2002 16:38:47 +0000
(16:38 +0000)
committer
mike
<mike>
Fri, 8 Nov 2002 16:38:47 +0000
(16:38 +0000)
src/org/z3950/zing/cql/CQLParser.java
patch
|
blob
|
history
diff --git
a/src/org/z3950/zing/cql/CQLParser.java
b/src/org/z3950/zing/cql/CQLParser.java
index
6117b23
..
6329146
100644
(file)
--- a/
src/org/z3950/zing/cql/CQLParser.java
+++ b/
src/org/z3950/zing/cql/CQLParser.java
@@
-1,4
+1,4
@@
-// $Id: CQLParser.java,v 1.18 2002-11-08 01:10:55 mike Exp $
+// $Id: CQLParser.java,v 1.19 2002-11-08 16:38:47 mike Exp $
package org.z3950.zing.cql;
import java.io.IOException;
package org.z3950.zing.cql;
import java.io.IOException;
@@
-12,7
+12,7
@@
import java.io.FileNotFoundException;
/**
* Compiles CQL strings into parse trees of CQLNode subtypes.
*
/**
* Compiles CQL strings into parse trees of CQLNode subtypes.
*
- * @version $Id: CQLParser.java,v 1.18 2002-11-08 01:10:55 mike Exp $
+ * @version $Id: CQLParser.java,v 1.19 2002-11-08 16:38:47 mike Exp $
* @see <A href="http://zing.z3950.org/cql/index.html"
* >http://zing.z3950.org/cql/index.html</A>
*/
* @see <A href="http://zing.z3950.org/cql/index.html"
* >http://zing.z3950.org/cql/index.html</A>
*/
@@
-130,7
+130,7
@@
public class CQLParser {
lexer.ttype != lexer.TT_STEM)
throw new CQLParseException("expected relation modifier, "
+ "got " + lexer.render());
lexer.ttype != lexer.TT_STEM)
throw new CQLParseException("expected relation modifier, "
+ "got " + lexer.render());
- relation.addModifier(lexer.sval);
+ relation.addModifier(lexer.sval.toLowerCase());
match(lexer.ttype);
}
match(lexer.ttype);
}