Permalink
Browse files

ug 756185 - Multiline //!< behavior changed

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Oct 9, 2016
1 parent 155bd01 commit d4accb68ff6536dcf128236b7e1e8d0239d4ffc2
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/scanner.l
@@ -6227,9 +6227,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
/**********************************************************************************/
/* ---- Single line comments ------ */
<DocLine>[^\n]*"\n"[ \t]*"//"[/!] { // continuation of multiline C++-style comment
<DocLine>[^\n]*"\n"[ \t]*"//"[/!][<]? { // continuation of multiline C++-style comment
docBlock+=yytext;
docBlock.resize(docBlock.length() - 3);
int markerLen = yytext[yyleng-1]=='<' ? 4 : 3;
docBlock.resize(docBlock.length() - markerLen);
lineCount();
}
<DocLine>{B}*"///"[/]+{B}*/"\n" { // ignore marker line (see bug700345)

0 comments on commit d4accb6

Please sign in to comment.