summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-10-28 20:29:16 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-10-29 21:54:17 (GMT)
commit94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3 (patch)
treec799c05e24cceb1fbbe3358fbab2760a3e7c9e10 /src/commentscan.l
parente8efa15a24b991332e2be0e44714d930d4d489a6 (diff)
downloadDoxygen-94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3.zip
Doxygen-94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3.tar.gz
Doxygen-94e8899c8013cf99a6f90d1c8f0a7815ccc3e1c3.tar.bz2
Replaced QList<BaseInfo> with std::vector<BaseInfo>
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index edd4910..eef76d6 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -1824,7 +1824,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
addOutput(yytext);
// we add subpage labels as a kind of "inheritance" relation to prevent
// needing to add another list to the Entry class.
- current->extends->append(new BaseInfo(yytext,Public,Normal));
+ current->extends.push_back(BaseInfo(yytext,Public,Normal));
BEGIN(SubpageTitle);
}
<SubpageLabel>{DOCNL} { // missing argument
@@ -2224,8 +2224,8 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
/* ----- handle argument of inherit command ------- */
<InheritParam>({ID}("::"|"."))*{ID} { // found argument
- current->extends->append(
- new BaseInfo(removeRedundantWhiteSpace(yytext),Public,Normal)
+ current->extends.push_back(
+ BaseInfo(removeRedundantWhiteSpace(yytext),Public,Normal)
);
BEGIN( Comment );
}
@@ -2247,8 +2247,8 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
/* ----- handle argument of extends and implements commands ------- */
<ExtendsParam>({ID}("::"|"."))*{ID} { // found argument
- current->extends->append(
- new BaseInfo(removeRedundantWhiteSpace(yytext),Public,Normal)
+ current->extends.push_back(
+ BaseInfo(removeRedundantWhiteSpace(yytext),Public,Normal)
);
BEGIN( Comment );
}