Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-490

JavaCC 4.0 fails to generate QueryParser.java

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9
    • Component/s: core/queryparser
    • Labels:
      None

      Description

      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

        Attachments

        1. QueryParser.jj.patch
          0.3 kB
          Steven Rowe

          Activity

            People

            • Assignee:
              ehatcher Erik Hatcher
              Reporter:
              sarowe Steven Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: