summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-01-08 11:48:28 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-01-08 11:48:28 (GMT)
commit1bfacc3b8e589907352eff923b7b3aa73cfc5138 (patch)
tree70e43045e39685cddb865f2d828513418698b027 /src/scanner.l
parent3337add3a6e05e26800c9e269b23fff272a9534c (diff)
downloadDoxygen-1bfacc3b8e589907352eff923b7b3aa73cfc5138.zip
Doxygen-1bfacc3b8e589907352eff923b7b3aa73cfc5138.tar.gz
Doxygen-1bfacc3b8e589907352eff923b7b3aa73cfc5138.tar.bz2
Bug 721462 - Parsing problem with C++11 empty initializer lists
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l
index e61826e..5d6845e 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -5115,6 +5115,11 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
lastCContext = YY_START;
BEGIN(SkipCxxComment);
}
+<SkipInits>"(" {
+ roundCount=0;
+ lastSkipRoundContext=YY_START;
+ BEGIN(SkipRound);
+ }
<SkipInits>\" {
lastStringContext=YY_START;
BEGIN( SkipString );