diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-01-28 18:16:38 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-01-28 18:16:38 (GMT) |
commit | 1426e2fbce1e3e4c8089b228c843042c90b2d1c4 (patch) | |
tree | 26b976ebd24f845a5cf88ab76f81f928c47c4548 /src/scanner.l | |
parent | bf4bb2e1e1fb5e61fa5a7458f6354002994fa5ee (diff) | |
download | Doxygen-1426e2fbce1e3e4c8089b228c843042c90b2d1c4.zip Doxygen-1426e2fbce1e3e4c8089b228c843042c90b2d1c4.tar.gz Doxygen-1426e2fbce1e3e4c8089b228c843042c90b2d1c4.tar.bz2 |
Release-1.2.4-20010128
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index 2243676..9ff3bbc 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -273,6 +273,7 @@ static void addSection() warn(yyFileName,yyLineNr, "Warning: Duplicate label %s found!",sectionLabel.data()); } + sectionTitle.resize(0); } // Adds a formula text to the list/dictionary of formulas if it was @@ -1385,6 +1386,7 @@ TITLE [tT][iI][tT][lL][eE] current->name.resize(0); current->args.resize(0); current->initializer.resize(0); + current->bitfields.resize(0); int i=oldType.length(); while (i>0 && (oldType[i-1]=='*' || oldType[i-1]=='&' || oldType[i-1]==' ')) i--; current->type = oldType.left(i); @@ -3085,8 +3087,8 @@ TITLE [tT][iI][tT][lL][eE] <SectionTitle>[^\n*]*/"\n" { sectionTitle+=yytext; sectionTitle=sectionTitle.stripWhiteSpace(); - addSection(); current->doc += "\\section "+sectionLabel+"\n"; + addSection(); BEGIN(PageDoc); } <SectionTitle>"*" { |