File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1395,7 +1395,9 @@ static void skipToMatch (const char *const pair)
1395
1395
// watch out for '<<' in template arguments
1396
1396
int x = cppGetc ();
1397
1397
if (c == '<' && x == '<' ) {
1398
- // we've found a << - do nothing
1398
+ // we've found a << - do nothing except record the signature
1399
+ if (CollectingSignature )
1400
+ vStringPut (Signature , x );
1399
1401
} else {
1400
1402
cppUngetc (x );
1401
1403
++ matchLevel ;
@@ -1411,7 +1413,9 @@ static void skipToMatch (const char *const pair)
1411
1413
// watch out for '>>' in template arguments
1412
1414
int x = cppGetc ();
1413
1415
if (c == '>' && x == '>' ) {
1414
- // we've found a >> in a template - skip it
1416
+ // we've found a >> - do nothing except record the signature
1417
+ if (CollectingSignature )
1418
+ vStringPut (Signature , x );
1415
1419
} else {
1416
1420
cppUngetc (x );
1417
1421
-- matchLevel ;
You can’t perform that action at this time.
0 commit comments