[ 
http://jira.codehaus.org/browse/MANTLRTHREE-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Holroyd moved MANTLR-28 to MANTLRTHREE-2:
-----------------------------------------------

        Key: MANTLRTHREE-2  (was: MANTLR-28)
    Project: Maven 2.x Antlr3 Plugin  (was: Maven 2.x Antlr Plugin)

> [antlr3-maven-plugin] plugin translates grammar files in arbitrary order, but 
> some grammars may depend on eachother
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: MANTLRTHREE-2
>                 URL: http://jira.codehaus.org/browse/MANTLRTHREE-2
>             Project: Maven 2.x Antlr3 Plugin
>          Issue Type: Improvement
>            Reporter: Philippe Faes
>         Attachments: antlr3-maven-plugin_sorting.patch
>
>
> When creating a parser and a treewalker, say CMinus.g and CMinusWalker.g, 
> antlr needs to translate the parser first. During this translation, a 
> *.tokens file is created, which is needed for the translation of the 
> treewalker.
> The plugin currently deals with grammar files in arbitrary order (because 
> files are stored in a Map, which is not sorted). I propose the plugin sorts 
> the files alphabetically before processing. This way, the developer can 
> determine the compilation order by choosing alphabetically sorted grammar 
> names.
> Note that using the anltr naming convention (foobar.g and foobarWalker.g) the 
> files are sorted correctly.
> Patch attached.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to