From: mike Date: Fri, 29 Jun 2007 11:55:45 +0000 (+0000) Subject: Temporarily change the token "ordered" to "xordered" so that the word X-Git-Tag: v1.5~87 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=5e52862b6e4e72b74b88af1c67b269b0149e08ee;p=cql-java-moved-to-github.git Temporarily change the token "ordered" to "xordered" so that the word is not recognised as special. Soon, nearly all keywords (including this one) will be removed. --- diff --git a/src/org/z3950/zing/cql/CQLLexer.java b/src/org/z3950/zing/cql/CQLLexer.java index e343606..ac7f97d 100644 --- 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.10 2007-06-28 00:00:31 mike Exp $ +// $Id: CQLLexer.java,v 1.11 2007-06-29 11:55:45 mike Exp $ package org.z3950.zing.cql; import java.io.StreamTokenizer; @@ -53,7 +53,7 @@ class CQLLexer extends StreamTokenizer { new Keyword(TT_SENTENCE, "sentence"), new Keyword(TT_PARAGRAPH, "paragraph"), new Keyword(TT_ELEMENT, "element"), - new Keyword(TT_ORDERED, "ordered"), + new Keyword(TT_ORDERED, "xordered"), new Keyword(TT_UNORDERED, "unordered"), };