File tree Expand file tree Collapse file tree 2 files changed +7
-81
lines changed Expand file tree Collapse file tree 2 files changed +7
-81
lines changed Original file line number Diff line number Diff line change @@ -1290,30 +1290,20 @@ 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
- }
1295
+
1297
1296
for (const char *s{directiveSentinel_}; *s != ' \0 ' ; ++p, ++s) {
1298
1297
if (*s != ToLowerCaseLetter (*p)) {
1299
1298
return nullptr ;
1300
1299
}
1301
1300
}
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
- }
1301
+
1313
1302
} else if (features_.IsEnabled (LanguageFeature::OpenMP)) {
1314
- if (*p + 1 == ' $' )
1315
- return nullptr ;
1316
- p += 2 ;
1303
+ ++p;
1304
+ } else {
1305
+ return nullptr ;
1306
+ }
1317
1307
p = SkipWhiteSpace (p);
1318
1308
if (*p == ' &' ) {
1319
1309
if (!ampersand) {
@@ -1325,9 +1315,6 @@ const char *Prescanner::FreeFormContinuationLine(bool ampersand) {
1325
1315
} else {
1326
1316
return nullptr ;
1327
1317
}
1328
- } else {
1329
- return nullptr ;
1330
- }
1331
1318
} else {
1332
1319
if (*p == ' &' ) {
1333
1320
p = SkipWhiteSpace (p + 1 );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments