This PR fixes an issue where the implementation of the wrong function is generated (or the function wasn't found at all) in some cases when the header file contains comments. Tested this in several scenarios and it seems to work, but note that comments for parameters are now preserved. Please let me know if this solution proposes undesired behavior, so I can adjust it since this issue currently makes this (awesome) extension unusable for me :)
Fixes #49 partially (only for line comments)
Issue:
I confirm that this pull request fixed it for me. It would be usefull to merge and publish it. It must be pretty common to start a header file with comments.
This PR fixes an issue where the implementation of the wrong function is generated (or the function wasn't found at all) in some cases when the header file contains comments. Tested this in several scenarios and it seems to work, but note that comments for parameters are now preserved. Please let me know if this solution proposes undesired behavior, so I can adjust it since this issue currently makes this (awesome) extension unusable for me :) Fixes #49 partially (only for line comments) Issue:
This PR: