SalesforceFoundation / ApexDoc

The latest java source for ApexDoc, a tool to document your Salesforce Apex classes.
BSD 3-Clause "New" or "Revised" License
229 stars 128 forks source link

any issues with handling block starting with /* vs /** ? #20

Closed davidhabib closed 9 years ago

davidhabib commented 9 years ago

ApexDoc was requiring slash star star, but that meant it mistakenly parsed keywords (class, public, global, etc.) in a normal comment. I changed the parser to handle just slash star, and that resolved the incorrect parsing. Any problems with this?

ceiroa commented 9 years ago

By normal comment you mean comments starting with double slash? Why would these be parsed?

davidhabib commented 9 years ago

no, i mean do I need to require the double star, vs single star.

davidhabib commented 9 years ago

haven't run into problems, and helps support looser formatting requirements. So i will keep this enhancement.