diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scanner.l | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 2639ddf..fd1568b 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -5029,6 +5029,11 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) } } } +<SkipInits>">"{BN}*"{" { // C++11 style initializer (see bug 790788) + lineCount(); + curlyCount=1; + BEGIN(SkipC11Inits); + } <SkipInits>{ID}{BN}*"{" { // C++11 style initializer (see bug 688647) lineCount(); curlyCount=1; |