Enum constructors are parsed to fields
--------------------------------------

                 Key: QDOX-226
                 URL: http://jira.codehaus.org/browse/QDOX-226
             Project: QDox
          Issue Type: Bug
          Components: Parser
    Affects Versions: 1.12
            Reporter: Robert Scholte
            Assignee: Robert Scholte


{{parser.y}} contains the following:
{noformat}
enum_constructor:
    IDENTIFIER { makeField(new TypeDef($1, 0), ""); } |
    IDENTIFIER CODEBLOCK  { makeField(new TypeDef($1, 0), ""); } |
    IDENTIFIER PARENBLOCK { makeField(new TypeDef($1, 0), ""); } |
    IDENTIFIER PARENBLOCK CODEBLOCK { makeField(new TypeDef($1, 0), ""); };
{noformat}

This just can't be right, since fields and constructors are two completely 
different things.

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