diff options
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index 49495f3..d211301 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -5401,7 +5401,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) handleCommentBlock(docBlock.data(),FALSE); BEGIN(docBlockContext); } -<DocBlock>^{B}*("//")?{B}*"*"+/[^//] { // start of a comment line +<DocBlock>^{B}*("//")?{B}*"*"+/[^//a-z_A-Z0-9*] { // start of a comment line } <DocBlock>^{B}*("//"){B}* { // strip embedded C++ comments if at the start of a line } |