summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 632c8a5..2639ddf 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -6574,7 +6574,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
<SkipComment>[^\*\n]+
-"[[" { // C++11 attribute
+<*>"[[" { // C++11 attribute
lastC11AttributeContext = YY_START;
BEGIN( SkipC11Attribute );
}