summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-10-06 16:02:00 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-10-06 16:02:00 (GMT)
commit3367058c49f85c3d8a86377db08e90ec9e601c60 (patch)
treecc76335a8ebaafbc39f837f1fabb094cf93bd797 /src
parent4e21d19cf63b17aadb62905535262deb208a0c73 (diff)
downloadDoxygen-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>";"`).
Diffstat (limited to 'src')
-rw-r--r--src/scanner.l2
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;