[ http://jira.codehaus.org/browse/MJAVACC-9?page=all ]

Brett Porter moved MOJO-140 to MJAVACC-9:
-----------------------------------------

    Component:     (was: javacc)
          Key: MJAVACC-9  (was: MOJO-140)
      Project: Maven 2.x Javacc Plugin  (was: Mojo)

> javacc plugin overwrites settings in .jj file
> ---------------------------------------------
>
>          Key: MJAVACC-9
>          URL: http://jira.codehaus.org/browse/MJAVACC-9
>      Project: Maven 2.x Javacc Plugin
>         Type: Bug

>     Reporter: Miguel Griffa
>     Assignee: Jesse McConnell

>
>
> as warned here
> Warning: Line 4, Column 3: Command line setting of "CHOICE_AMBIGUITY_CHECK" 
> modifies option value in file.
> Warning: Line 5, Column 3: Command line setting of "OTHER_AMBIGUITY_CHECK" 
> modifies option value in file.
> Warning: Line 6, Column 3: Command line setting of "STATIC" modifies option 
> value in file.
> Warning: Line 19, Column 3: Command line setting of "FORCE_LA_CHECK" modifies 
> option value in file.
> for a grammar that contains these options
> options {
>   LOOKAHEAD = 1;
>   CHOICE_AMBIGUITY_CHECK = 4;
>   OTHER_AMBIGUITY_CHECK = 3;
>   STATIC = false;
>   DEBUG_PARSER = false;
>   DEBUG_LOOKAHEAD = false;
>   DEBUG_TOKEN_MANAGER = false;
>   ERROR_REPORTING = true;
>   JAVA_UNICODE_ESCAPE = false;
>   UNICODE_INPUT = false;
>   IGNORE_CASE = false;
>   USER_TOKEN_MANAGER = false;
>   USER_CHAR_STREAM = false;
>   BUILD_PARSER = true;
>   BUILD_TOKEN_MANAGER = true;
>   SANITY_CHECK = true;
>   FORCE_LA_CHECK = true;
> }
> a simple startegy wold be to not set by default those params, so they can be 
> defined in file. 

-- 
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

Reply via email to