You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 22:58:36 UTC
[jira] (MPANTLR-4) Use of ANTLR grammar inheritance requires -glib
option for ANTLR.
[ https://jira.codehaus.org/browse/MPANTLR-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MPANTLR-4.
--------------------------------
Resolution: Won't Fix
Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
> Use of ANTLR grammar inheritance requires -glib option for ANTLR.
> -----------------------------------------------------------------
>
> Key: MPANTLR-4
> URL: https://jira.codehaus.org/browse/MPANTLR-4
> Project: Maven 1.x Antlr Plugin
> Issue Type: Improvement
> Reporter: bryan thompson
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)