Maven 1.x Antlr Plugin

Use of ANTLR grammar inheritance requires -glib option for ANTLR.

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Description:
    Hide

    Using ANTLR you can extend an existing grammar (grammar inheritance).
    In order for this to work, ANTLR must be passed a -glib flag naming
    the grammar files to be scanned for the supergrammars. This flag
    should be settable as an option and the default value should be based
    on the list of ANTLR grammars already declared via the "maven.antlr.grammars" property.

    From the ANTLR documentation:

    The set of potential "supergrammars" available to some grammar P includes any other grammar in the same file as P and any listed on the ANTLR command line with

    -glib f1.g;f2.g
    where the files must include path names if they are located in another directory.

    Show
    Using ANTLR you can extend an existing grammar (grammar inheritance). In order for this to work, ANTLR must be passed a -glib flag naming the grammar files to be scanned for the supergrammars. This flag should be settable as an option and the default value should be based on the list of ANTLR grammars already declared via the "maven.antlr.grammars" property. From the ANTLR documentation: The set of potential "supergrammars" available to some grammar P includes any other grammar in the same file as P and any listed on the ANTLR command line with -glib f1.g;f2.g where the files must include path names if they are located in another directory.

Issue Links

Activity

There are no comments yet on this issue.

People

Dates

  • Created:
    08/Dec/04 3:21 PM
    Updated:
    12/May/06 10:52 AM

Time Tracking

Estimated:
2h
Original Estimate - 2 hours
Remaining:
2h
Remaining Estimate - 2 hours
Logged:
Not Specified
Time Spent - Not Specified