From 5e52862b6e4e72b74b88af1c67b269b0149e08ee Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 29 Jun 2007 11:55:45 +0000 Subject: [PATCH] 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. --- src/org/z3950/zing/cql/CQLLexer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"), }; -- 1.7.10.4