diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-01-06 20:54:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-01-06 20:54:16 (GMT) |
commit | be32faf9e70cecf7583687c1ce875071abd99005 (patch) | |
tree | b008f56412d0734ea397eb4492ddd66c08677dff /src/scanner.l | |
parent | ee8c5a59f9dce7e770d315f08af410b1ac5ab9c4 (diff) | |
download | Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.zip Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.tar.gz Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.tar.bz2 |
Release-1.3-rc2-20030106
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index c6b4eaf..aba1dca 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2733,6 +2733,13 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) lastCContext = YY_START; BEGIN(SkipCxxComment); } +<SkipInits>; { + warn(yyFileName,yyLineNr, + "Warning: Found ';' while parsing initializer list! " + "(doxygen could be confused by a macro call without semicolon)" + ); + BEGIN( FindMembers ); + } <SkipInits,SkipCurly,SkipCurlyCpp>. { //addToBody(yytext); } |