You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case we have:
**foo.h**
```
/// \file
///
/// The level 1
///
/// provoking an error \error_5_1_h
///
/// \include{doc} kaboom.md
/// \brief the fie 1
/// \details the fie 1
/// \error_11_h
void foo_1() {}
```
**kaboom.md**
```
# Uh-oh 1
Seems Doxygen isn't playing nice with slightly longer paths... \error_3
```
we get the warnings:
```
.../foo.h:5: warning: Found unknown command '\error_5_1_h'
.../kaboom.md:3: warning: Found unknown command '\error_3'
.../foo.h:14: warning: Found unknown command '\error_11_h'
```
though the last one should read
```
.../foo.h:11: warning: Found unknown command '\error_11_h'
```
Problem is due to the fact that `\include{doc}` adds lines but the correction of the number of lines is done based for the current comment block so subsequent comment blocks don't know about it, this has to be handled in the scanner that extracts the comment blocks.
(code analogous to the doctokenizer)
0 commit comments