File tree Expand file tree Collapse file tree 2 files changed +13
-90
lines changed Expand file tree Collapse file tree 2 files changed +13
-90
lines changed Original file line number Diff line number Diff line change @@ -1290,48 +1290,32 @@ const char *Prescanner::FreeFormContinuationLine(bool ampersand) {
1290
1290
}
1291
1291
p = SkipWhiteSpace (p);
1292
1292
if (*p == ' !' ) {
1293
+ ++p;
1293
1294
if (InCompilerDirective ()) {
1294
- if (*p++ != ' !' ) {
1295
- return nullptr ;
1296
- }
1297
1295
for (const char *s{directiveSentinel_}; *s != ' \0 ' ; ++p, ++s) {
1298
1296
if (*s != ToLowerCaseLetter (*p)) {
1299
1297
return nullptr ;
1300
1298
}
1301
1299
}
1302
- p = SkipWhiteSpace (p);
1303
- if (*p == ' &' ) {
1304
- if (!ampersand) {
1305
- insertASpace_ = true ;
1306
- }
1307
- return p + 1 ;
1308
- } else if (ampersand) {
1309
- return p;
1310
- } else {
1311
- return nullptr ;
1312
- }
1313
1300
} else if (features_.IsEnabled (LanguageFeature::OpenMP)) {
1314
- if (*p + 1 == ' $' )
1315
- return nullptr ;
1316
- p += 2 ;
1317
- p = SkipWhiteSpace (p);
1318
- if (*p == ' &' ) {
1319
- if (!ampersand) {
1320
- insertASpace_ = true ;
1321
- }
1322
- return p + 1 ;
1323
- } else if (ampersand) {
1324
- return p;
1325
- } else {
1326
- return nullptr ;
1301
+ ++p;
1302
+ } else {
1303
+ return nullptr ;
1304
+ }
1305
+ p = SkipWhiteSpace (p);
1306
+ if (*p == ' &' ) {
1307
+ if (!ampersand) {
1308
+ insertASpace_ = true ;
1327
1309
}
1310
+ return p + 1 ;
1311
+ } else if (ampersand) {
1312
+ return p;
1328
1313
} else {
1329
1314
return nullptr ;
1330
1315
}
1331
1316
} else {
1332
1317
if (*p == ' &' ) {
1333
- p = SkipWhiteSpace (p + 1 );
1334
- return p;
1318
+ return p + 1 ;
1335
1319
} else if (*p == ' !' || *p == ' \n ' || *p == ' #' ) {
1336
1320
return nullptr ;
1337
1321
} else if (ampersand || IsImplicitContinuation ()) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments