improve C parser for comments and report comment changes
please run a simple diff with semanticmerge
It will tell you that the include <...> has been changed, not the comment
Christian shared this idea
Look, the thing is that in Semantic comments are linked to the next declaration. So, consider the following function:
// this is a comment
The comment is considered to be linked to the main function in this case.
Obviously for file-wide comments this is not good, so maybe we should add something specific to handle these cases.
Any thoughts will be appreciated.
Thanks Christian. We will take a look into it.