[
https://jira.codehaus.org/browse/QDOX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277202#comment-277202
]
Robert Scholte commented on QDOX-226:
-------------------------------------
I haven't looked at this for a while, but I think your guess is right.
> Enum constructors are parsed to fields
> --------------------------------------
>
> Key: QDOX-226
> URL: https://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.
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