-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function prototype matching @fn command, but link between both is not made #9005
Comments
Interesting to see that when using
instead of the expected:
The difference is introduced in doxygen version 1.8.15 (the version 1.8.14 was still OK). Further observations learn us that the problem is caused in the markdown processing.
by
|
This issue is particularly frustrating, it took me one full day to understand (by which miracle ?) what was the root cause. |
Dove a bit deeper in it.
where the Looks like the solution might be in:
where it should be checked whether or not we reached the end of the line and no open bracket types (possibly also Note that the function declaration of
|
@vincentdupaquis
i.e. which misplaced space, do you mean in your code or the fact that doxygen doesn't handle it properly ( I think doxygen should handle it properly though as |
I mean the space in the parameter p2, it should have been |
The main problem is that |
@vincentdupaquis Please verify if the referenced commit fixes the problem. |
I did some, multiline, tests as well and it looks OK to me. |
Hello, I have tested with the project that was causing the original issue, and can confirm this fix is efficient ! Nice job :) Best regards, |
Code has been corrected in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Hello,
I've been meeting an issue where I have a function which has a first set of doxygen comments in the same file, and a set of other ones in another file, using the @fn command to make the link between both.
I have attached a sample .h file showing the issue, function2 & function3 have the detail field recognized, while function1 does not.
The problem is linked to the fact that although both parameters between the function declaration & the @fn command are identical, in the failing case a parameter was declared "char* p1", and doxygen seems to memorize this parameter as "char *p1" (the space is not placed identically).
Best regards,
Vincent.
issue.zip
.
The text was updated successfully, but these errors were encountered: