The DDR incorrectly reports comments as Functions
Operating system version
OS X 10.6.4
Description of the issue
When creating a calculation that has // style comments in it, when you generate a DDR, the comments are incorrectly reported as FunctionRef style chunks, when they should be reported as a NoRef type.
Even better would be a "CommentRef" type, but that doesn't currently exist.
Steps to reproduce the problem
Create a new file with one calc field and the following calculation :
Then generate the DDR and have a look at the calculation node, and the various chunks it's broken into. The comment is listed as :
Which makes it very hard to accurately define in anything that looks for functions in the DDR.
I'd expect to see a "NoRef" type chunk instead of the FunctionRef type.
I'd prefer a "CommentRef" type was created for both this and /**/ style comments, but the next best solution is to not categorise them as functions.
You get the inaccurate FunctionRef type.
Exact text of any error message(s) that appear
The same applies to v10 and earlier as well. I can supply a sample file and DDR if required.