[ https://jira.codehaus.org/browse/QDOX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte resolved QDOX-226. --------------------------------- Resolution: Fixed Fix Version/s: 2.0 Looks like I'm done. During the alpha and beta releases this part needs special attention. Up until now it just picked up the paren-block, now it has to parse the arguments. Most of it was already covered by Annotation values, but here are some extra expressions possible. > 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 > Fix For: 2.0 > > > {{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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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