You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (JIRA)" <ji...@apache.org> on 2006/01/26 01:32:09 UTC

[jira] Created: (LUCENE-490) JavaCC 4.0 fails to generate QueryParser.java

JavaCC 4.0 fails to generate QueryParser.java
---------------------------------------------

         Key: LUCENE-490
         URL: http://issues.apache.org/jira/browse/LUCENE-490
     Project: Lucene - Java
        Type: Bug
  Components: QueryParser  
    Versions: CVS Nightly - Specify date in submission    
    Reporter: Steven Rowe
    Priority: Minor


When generating the Java source for QueryParser via the ant task 'javacc-QueryParser' against Subversion trunk (updated Jan. 25, 2006), JavaCC 4.0 gives the following error:

javacc-QueryParser:
   [javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file [...]/src/java/org/apache/lucene/queryParser/QueryParser.jj . . .
   [javacc] org.javacc.parser.ParseException: Encountered "<<" at line 754, column 3.
   [javacc] Was expecting one of:
   [javacc]     <STRING_LITERAL> ...
   [javacc]     "<" ...
   [javacc]     
   [javacc] Detected 1 errors and 0 warnings.

BUILD FAILED


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-490) JavaCC 4.0 fails to generate QueryParser.java

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-490?page=all ]
     
Erik Hatcher resolved LUCENE-490:
---------------------------------

    Fix Version: 1.9
     Resolution: Fixed
      Assign To: Erik Hatcher

Patch applied, thanks!

> JavaCC 4.0 fails to generate QueryParser.java
> ---------------------------------------------
>
>          Key: LUCENE-490
>          URL: http://issues.apache.org/jira/browse/LUCENE-490
>      Project: Lucene - Java
>         Type: Bug
>   Components: QueryParser
>     Versions: CVS Nightly - Specify date in submission
>     Reporter: Steven Rowe
>     Assignee: Erik Hatcher
>     Priority: Minor
>      Fix For: 1.9
>  Attachments: QueryParser.jj.patch
>
> When generating the Java source for QueryParser via the ant task 'javacc-QueryParser' against Subversion trunk (updated Jan. 25, 2006), JavaCC 4.0 gives the following error:
> javacc-QueryParser:
>    [javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
>    [javacc] (type "javacc" with no arguments for help)
>    [javacc] Reading from file [...]/src/java/org/apache/lucene/queryParser/QueryParser.jj . . .
>    [javacc] org.javacc.parser.ParseException: Encountered "<<" at line 754, column 3.
>    [javacc] Was expecting one of:
>    [javacc]     <STRING_LITERAL> ...
>    [javacc]     "<" ...
>    [javacc]     
>    [javacc] Detected 1 errors and 0 warnings.
> BUILD FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Closed: (LUCENE-490) JavaCC 4.0 fails to generate QueryParser.java

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-490?page=all ]
     
Erik Hatcher closed LUCENE-490:
-------------------------------


> JavaCC 4.0 fails to generate QueryParser.java
> ---------------------------------------------
>
>          Key: LUCENE-490
>          URL: http://issues.apache.org/jira/browse/LUCENE-490
>      Project: Lucene - Java
>         Type: Bug
>   Components: QueryParser
>     Versions: CVS Nightly - Specify date in submission
>     Reporter: Steven Rowe
>     Assignee: Erik Hatcher
>     Priority: Minor
>      Fix For: 1.9
>  Attachments: QueryParser.jj.patch
>
> When generating the Java source for QueryParser via the ant task 'javacc-QueryParser' against Subversion trunk (updated Jan. 25, 2006), JavaCC 4.0 gives the following error:
> javacc-QueryParser:
>    [javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
>    [javacc] (type "javacc" with no arguments for help)
>    [javacc] Reading from file [...]/src/java/org/apache/lucene/queryParser/QueryParser.jj . . .
>    [javacc] org.javacc.parser.ParseException: Encountered "<<" at line 754, column 3.
>    [javacc] Was expecting one of:
>    [javacc]     <STRING_LITERAL> ...
>    [javacc]     "<" ...
>    [javacc]     
>    [javacc] Detected 1 errors and 0 warnings.
> BUILD FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-490) JavaCC 4.0 fails to generate QueryParser.java

Posted by "Steven Rowe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-490?page=all ]

Steven Rowe updated LUCENE-490:
-------------------------------

    Attachment: QueryParser.jj.patch

The attached patch allows JavaCC 4.0 to generate the parser.  JavaCC 3.2 also works, and generates the same source.

> JavaCC 4.0 fails to generate QueryParser.java
> ---------------------------------------------
>
>          Key: LUCENE-490
>          URL: http://issues.apache.org/jira/browse/LUCENE-490
>      Project: Lucene - Java
>         Type: Bug
>   Components: QueryParser
>     Versions: CVS Nightly - Specify date in submission
>     Reporter: Steven Rowe
>     Priority: Minor
>  Attachments: QueryParser.jj.patch
>
> When generating the Java source for QueryParser via the ant task 'javacc-QueryParser' against Subversion trunk (updated Jan. 25, 2006), JavaCC 4.0 gives the following error:
> javacc-QueryParser:
>    [javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
>    [javacc] (type "javacc" with no arguments for help)
>    [javacc] Reading from file [...]/src/java/org/apache/lucene/queryParser/QueryParser.jj . . .
>    [javacc] org.javacc.parser.ParseException: Encountered "<<" at line 754, column 3.
>    [javacc] Was expecting one of:
>    [javacc]     <STRING_LITERAL> ...
>    [javacc]     "<" ...
>    [javacc]     
>    [javacc] Detected 1 errors and 0 warnings.
> BUILD FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org