diff options
author | albert-github <albert.tests@gmail.com> | 2019-10-06 16:02:00 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-10-06 16:02:00 (GMT) |
commit | 3367058c49f85c3d8a86377db08e90ec9e601c60 (patch) | |
tree | cc76335a8ebaafbc39f837f1fabb094cf93bd797 | |
parent | 4e21d19cf63b17aadb62905535262deb208a0c73 (diff) | |
download | Doxygen-3367058c49f85c3d8a86377db08e90ec9e601c60.zip Doxygen-3367058c49f85c3d8a86377db08e90ec9e601c60.tar.gz Doxygen-3367058c49f85c3d8a86377db08e90ec9e601c60.tar.bz2 |
Bug 570798 - \\\< does not work for php constants
Handle comment for define analogous to a normal php variable, the closing part is automatically done when the comment is finished (rule: `<DefinePHPEnd>";"`).
-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 07d5c71..316bb81 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2770,7 +2770,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) current->name += yytext ; addType( current ); } -<FindMembers,MemberSpec,Function,NextSemi,EnumBaseType,BitFields,ReadInitializer,OldStyleArgs>";"{BN}*("/**"|"//!"|"/*!"|"///")"<" { +<FindMembers,MemberSpec,Function,NextSemi,EnumBaseType,BitFields,ReadInitializer,OldStyleArgs,DefinePHPEnd>";"{BN}*("/**"|"//!"|"/*!"|"///")"<" { if (current->bodyLine==-1) { current->bodyLine=yyLineNr; |