diff options
author | albert-github <albert.tests@gmail.com> | 2019-02-05 17:39:50 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-02-05 17:39:50 (GMT) |
commit | a6a289243feff9c29b106ef934acd7c894409d76 (patch) | |
tree | ba6f1f8f6d953c6cebf9192a600a4f3c2894fdc3 /src | |
parent | 2802e2b4ee8158dba3f3584037e99907c6db7ec4 (diff) | |
download | Doxygen-a6a289243feff9c29b106ef934acd7c894409d76.zip Doxygen-a6a289243feff9c29b106ef934acd7c894409d76.tar.gz Doxygen-a6a289243feff9c29b106ef934acd7c894409d76.tar.bz2 |
Issue #6818 Certain regex pattern in class constant causes PHP class to be ignored
Only ally the rule `<*>"[["` for Cpp
See also fix d8001efd89146e04d92f5ea41ab27a7de09b6c53 i.e. Problem parsing c++ gnu::visibility (Origin: bugzilla #787952) #6259
Diffstat (limited to 'src')
-rw-r--r-- | src/scanner.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index cad997e..03c70c6 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6829,6 +6829,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) <SkipComment>[^\*\n]+ <*>"[[" { // C++11 attribute + if (!insideCpp) REJECT; lastC11AttributeContext = YY_START; BEGIN( SkipC11Attribute ); } |