Now that semantics is working, the standard -fsyntax-only option of GNU and Clang should be used as the name of the option that causes f18 to just run the front-end. Support both options in f18, silently accepting the old option as a synonym for the new one (as preferred by the code owner), and replace all instances of the old -fparse-only option with -fsyntax-only throughout the source base. Differential Revision: https://reviews.llvm.org/D95887
5 lines
145 B
Fortran
5 lines
145 B
Fortran
! RUN: echo -n "end program" > %t.f90
|
|
! RUN: %f18 -fsyntax-only %t.f90
|
|
! RUN: echo -ne "\rend program" > %t.f90
|
|
! RUN: %f18 -fsyntax-only %t.f90
|