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
Report warning with wrong file and wrong line number #10414
Comments
As the `addtogroup` parts are joined together in one block the second block didn't know anymore wheer it came from originally which resulted in the wrong file name and line number. By adding some internal commands dureng provessing this has been corrected.
I've just pushed a proposed patch, pull request #10416 |
Hi @albert-github , thanks for quick feedback, I tried but doesn't help |
@zejiang0jason
|
Issue #10414 Report warning with wrong file and wrong line number
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
Hi @albert-github , yes, I build the executable locally, based on the PR code. |
I think the warning is correct as the indentation of the list in wrong.dox is incorrect, the item:
has an indentation of 2, whilst the corresponding:
has an indentation of 1 and this is reported by the warning message (before the fix the warning was pointing to the wrong file). |
Hi @albert-github , I built locally but the warning is still reported in incorrect place.
I think I can try with next doxygen formal release. thanks. |
That is very weird. |
Hi @albert-github , I confirmed I am using the desired one, this is the log I got
|
Getting even more weird, looks all OK.
in commentscan.l around line 1383. What happens when you run:
and post /attach the file |
Yes, I can see your changes in commentscan.l. The log attached. thanks. |
Looks like this shines a bit of a light on the problem.
which is the wrong line, so we have here a problem with the same type of root cause but triggered in a different way, I have to think about this.... |
Analogous to the fix for `aqddtogroup` see @10416: As the `page` parts are joined together in one block the second block didn't know anymore where it came from originally which resulted in the wrong file name and line number. By adding some internal commands during processing this has been corrected.
I've just pushed a proposed patch, pull request #10437 now for the |
…mber the `\iline` command gave a warning about: ``` warning: invalid argument for command '\iline' ```
Issue #10414 Report warning with wrong file and wrong line number
Hi @albert-github , thanks, the new patch works:) |
Code (#10437) has been integrated 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', |
Describe the bug
I am using doxygen 1.9.8. The test project is attached. In this project there are two files, wrong.dox and right.dox. The content of these two files are added to the same group.
right.dox content is right, wrong.dox contains a warning. While running doxygen, it reports right.dox has warning.
test_dox.zip
Expected behavior
doxygen shall report the warning is in wrong.dox.
Screenshots
Doxygen log warning
test_dox/right.dox:8: warning: Invalid list item found
To Reproduce
Zip package attached.
Version
1.9.8
Stack trace
No crash.
Additional context
No.
Thank you.
The text was updated successfully, but these errors were encountered: