LUCENE-490: Fix to allow QueryParser.jj to work with JavaCC 4.0 submitted by Steven Rowe

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@372383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2006-01-26 00:43:01 +00:00
parent e37a04646a
commit abed4e6990
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ import org.apache.lucene.util.Parameter;
* href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax * href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
* documentation</a>. * documentation</a>.
* </p> * </p>
* *
* <p>In {@link RangeQuery}s, QueryParser tries to detect date values, e.g. <tt>date:[6/1/2005 TO 6/4/2005]</tt> * <p>In {@link RangeQuery}s, QueryParser tries to detect date values, e.g. <tt>date:[6/1/2005 TO 6/4/2005]</tt>
* produces a range query that searches for "date" fields between 2005-06-01 and 2005-06-04. Note * produces a range query that searches for "date" fields between 2005-06-01 and 2005-06-04. Note
* that the format of the accpeted input depends on {@link #setLocale(Locale) the locale}. This * that the format of the accpeted input depends on {@link #setLocale(Locale) the locale}. This

View File

@ -751,7 +751,7 @@ PARSER_END(QueryParser)
} }
<DEFAULT, RangeIn, RangeEx> SKIP : { <DEFAULT, RangeIn, RangeEx> SKIP : {
<<_WHITESPACE>> < <_WHITESPACE>>
} }
// OG: to support prefix queries: // OG: to support prefix queries: