diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-04-14 17:42:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-14 17:42:55 (GMT) |
commit | 74c2e9d09e702da79e2059856fabfc7625277847 (patch) | |
tree | 35adc1f0b1764001564ac0e7ffbbfb9a8bf7b821 | |
parent | 16d025c8a08b485f5d43ade0986d716bd6aa06f8 (diff) | |
parent | 3d8e32e6fbc8bb038a5a88b13c7098f53212568a (diff) | |
download | Doxygen-74c2e9d09e702da79e2059856fabfc7625277847.zip Doxygen-74c2e9d09e702da79e2059856fabfc7625277847.tar.gz Doxygen-74c2e9d09e702da79e2059856fabfc7625277847.tar.bz2 |
Merge pull request #6929 from albert-github/feature/bug_cnt_usr_comment
Count user comment lines
-rw-r--r-- | src/configimpl.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configimpl.l b/src/configimpl.l index 644250f..d114b4a 100644 --- a/src/configimpl.l +++ b/src/configimpl.l @@ -699,12 +699,12 @@ static void readIncludeFile(const char *incName) %% <*>\0x0d -<PreStart>"##".*"\n" { config->appendStartComment(yytext);} +<PreStart>"##".*"\n" { config->appendStartComment(yytext);yyLineNr++;} <PreStart>. { BEGIN(Start); unput(*yytext); } -<Start,GetString,GetStrList,GetBool,SkipInvalid>"##".*"\n" { config->appendUserComment(yytext);} +<Start,GetString,GetStrList,GetBool,SkipInvalid>"##".*"\n" { config->appendUserComment(yytext);yyLineNr++;} <Start,GetString,GetStrList,GetBool,SkipInvalid>"#" { BEGIN(SkipComment); } <Start>[a-z_A-Z][a-z_A-Z0-9]*[ \t]*"=" { QCString cmd=yytext; cmd=cmd.left(cmd.length()-1).stripWhiteSpace(); |