File tree 1 file changed +7
-13
lines changed
1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -1410,20 +1410,14 @@ static void skipToMatch (const char *const pair)
1410
1410
}
1411
1411
else if (c == end )
1412
1412
{
1413
- // watch out for '>>' in template arguments
1413
+ // don't care if you find a '>>' (the important thing is closing the brackets)
1414
1414
int x = cppGetc ();
1415
- if (c == '>' && x == '>' ) {
1416
- // we've found a >> - do nothing except record the signature
1417
- if (CollectingSignature )
1418
- vStringPut (Signature , x );
1419
- } else {
1420
- cppUngetc (x );
1421
- -- matchLevel ;
1422
- if (braceFormatting && getDirectiveNestLevel () != initialLevel )
1423
- {
1424
- skipToFormattedBraceMatch ();
1425
- break ;
1426
- }
1415
+ cppUngetc (x );
1416
+ -- matchLevel ;
1417
+ if (braceFormatting && getDirectiveNestLevel () != initialLevel )
1418
+ {
1419
+ skipToFormattedBraceMatch ();
1420
+ break ;
1427
1421
}
1428
1422
}
1429
1423
/* early out if matching "<>" and we encounter a ";" or "{" to mitigate
You can’t perform that action at this time.
0 commit comments