From e722350c060728a241695c41cafd6e49dd7b609d Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Thu, 23 Nov 2006 02:52:47 +0000 Subject: Remove vestigial parsing of colon character. --- src/main/java/com/amazon/carbonado/filter/FilterParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/amazon/carbonado') diff --git a/src/main/java/com/amazon/carbonado/filter/FilterParser.java b/src/main/java/com/amazon/carbonado/filter/FilterParser.java index 5c483e0..baf264d 100644 --- a/src/main/java/com/amazon/carbonado/filter/FilterParser.java +++ b/src/main/java/com/amazon/carbonado/filter/FilterParser.java @@ -164,7 +164,7 @@ class FilterParser { } operatorCheck(); break; - case '?': case ':': + case '?': mPos--; throw error("Relational operator missing"); case -1: @@ -189,7 +189,7 @@ class FilterParser { mPos--; switch (c) { case -1: - case '?': case ':': + case '?': case '(': case ')': case ' ': case '\r': case '\n': case '\t': case '\0': return; -- cgit v1.2.3