From 3088ae34eda1fbeab287e2271a7f1804de2c784f Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 2 Feb 2019 13:51:34 +0100 Subject: Problem with just an asterisks on a `\code` line Problem occurs when a line with just a `*` is followed by another line with an `# and some comment. The test on newline has been removed. Problem is most likely a consequence of Bug #5288 - Asterisks in comment wrongly displayed for @code, i.e. 23f337e64b95d3fa08f32980c866669b190c872f --- src/scanner.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.l b/src/scanner.l index d2c7072..cad997e 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6651,7 +6651,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) docBlock+=indent; } } -^{B}*"*"+/{BN}+"*"{BN}* { // start of a comment line with two *'s +^{B}*"*"+/{B}+"*"{BN}* { // start of a comment line with two *'s if (docBlockName=="code") { QCString indent; -- cgit v0.12