diff options
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l index 03c70c6..6633098 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6829,7 +6829,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) <SkipComment>[^\*\n]+ <*>"[[" { // C++11 attribute - if (!insideCpp) REJECT; + if (!insideCpp) REJECT; + if (YY_START == CopyGString || YY_START == CopyGString) REJECT; lastC11AttributeContext = YY_START; BEGIN( SkipC11Attribute ); } |