File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ bool Prescanner::MustSkipToEndOfLine() const {
511511 if (inFixedForm_ && column_ > fixedFormColumnLimit_ && !tabInCurrentLine_) {
512512 return true ; // skip over ignored columns in right margin (73:80)
513513 } else if (*at_ == ' !' && !inCharLiteral_) {
514- return !IsCompilerDirectiveSentinel (at_);
514+ return !IsCompilerDirectiveSentinel (at_+ 1 );
515515 } else {
516516 return false ;
517517 }
Original file line number Diff line number Diff line change 1+ ! RUN: %flang -fopenmp -E %s 2>&1 | FileCheck %s
2+ ! CHECK: !$OMP DO SCHEDULE(STATIC)
3+ program main
4+ IMPLICIT NONE
5+ INTEGER :: I
6+ #define OMPSUPPORT
7+ ! $ INTEGER :: omp_id
8+ ! $OMP PARALLEL DO
9+ OMPSUPPORT ! $OMP DO SCHEDULE(STATIC)
10+ DO I= 1 ,100
11+ print * , omp_id
12+ ENDDO
13+ ! $OMP END PARALLEL DO
14+ end program
You can’t perform that action at this time.
0 commit comments