Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: milestone 1
    • Component/s: general
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      240

      Description

      The production for MethodDeclarator in JavaCC.jj has weird square brackets:
      ( "[" "]" )*

      after the formal parameters.

      This means that within PARSER_BEGIN/END, a method like:
      public void foo()[][][]{}

      Parses/generates fine, but obviously results in a compiler error. I noticed
      this in an older version of the source (4.0), and confirmed it is still in the
      5.0 source (line 1749).

      It doesn't affect correct files... but unless I'm missing something, these can
      simply be removed. If they already have, I apologize.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            sreeni
            Reporter:
            bchadwick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: