diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-03-15 14:23:54 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-03-15 14:23:54 (GMT) |
commit | bcd9011465e97880c475b38aa68e266e07c62fe1 (patch) | |
tree | 44f771da52c3596c502536bec50ed33f5bfcb2c7 /src/section.h | |
parent | 4c707aded602dd906a0fe7d75fae78440a9ad5dc (diff) | |
parent | ac611be473c2d9bf65bcafb53b0577274c4ae706 (diff) | |
download | Doxygen-bcd9011465e97880c475b38aa68e266e07c62fe1.zip Doxygen-bcd9011465e97880c475b38aa68e266e07c62fe1.tar.gz Doxygen-bcd9011465e97880c475b38aa68e266e07c62fe1.tar.bz2 |
Merge pull request #131 from albert-github/feature/bug_725516
Bug 725516 - In case of sections with the same name they are not reported.
Diffstat (limited to 'src/section.h')
-rw-r--r-- | src/section.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/section.h b/src/section.h index 431c63b..7df4166 100644 --- a/src/section.h +++ b/src/section.h @@ -33,17 +33,23 @@ struct SectionInfo Paragraph = 4, Anchor = 5 }; - SectionInfo(const char *f,const char *l,const char *t, + SectionInfo(const char *f,const int lin,const char *l,const char *t, SectionType st,int lev,const char *r=0) : label(l), title(t), type(st), ref(r), definition(0), - fileName(f), generated(FALSE), level(lev) + fileName(f), generated(FALSE), level(lev), lineNr(lin) { } SectionInfo(const SectionInfo &s) { - label=s.label.copy(); title=s.title.copy(); ref=s.ref.copy(); - type =s.type; definition=s.definition; - fileName=s.fileName.copy(); generated=s.generated; + label=s.label.copy(); + title=s.title.copy(); + type =s.type; + ref=s.ref.copy(); + definition=s.definition; + fileName=s.fileName.copy(); + lineNr=s.lineNr; + generated=s.generated; + level=s.level; } ~SectionInfo() {} QCString label; @@ -52,6 +58,7 @@ struct SectionInfo QCString ref; Definition *definition; QCString fileName; + int lineNr; bool generated; int level; }; |