diff options
author | Albert <albert.tests@gmail.com> | 2013-11-10 18:20:03 (GMT) |
---|---|---|
committer | Albert <albert.tests@gmail.com> | 2013-11-10 18:20:03 (GMT) |
commit | 057f260bfdc3a91a71e83dd5843564225a4bf1aa (patch) | |
tree | de71381977421df4df62525a92130884b0dc9b5f /src/scanner.l | |
parent | 7cda115a6830bf816a094e37c498e5a50ce1b29c (diff) | |
download | Doxygen-057f260bfdc3a91a71e83dd5843564225a4bf1aa.zip Doxygen-057f260bfdc3a91a71e83dd5843564225a4bf1aa.tar.gz Doxygen-057f260bfdc3a91a71e83dd5843564225a4bf1aa.tar.bz2 |
Bug 711787 - Long initialization line in C stops doxygen
An extra "breakpoint" in the input string has been created in the form of a , (comma), so for initialization lines the line will be shorter and the , (comma) will be copied later on.
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index f0067b0..0df0a8a 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -3252,7 +3252,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) *pCopyCurlyGString+=yytext; } } -<GCopyCurly>[^"'{}\/\n]+ { +<GCopyCurly>[^"'{}\/\n,]+ { + *pCopyCurlyGString+=yytext; + } +<GCopyCurly>[,]+ { *pCopyCurlyGString+=yytext; } <GCopyCurly>"/" { *pCopyCurlyGString+=yytext; } |