When prescanning a Fortran source file with preprocessing enabled in free source form, interpret a line-ending backslash as a source line continuation marker as a C preprocessor would. This usage isn't completely portable, but it is supported by GNU Fortran and appears in the source for FPM package manager.
9 lines
124 B
Fortran
9 lines
124 B
Fortran
! RUN: %flang -E %s | FileCheck %s
|
|
print *, \
|
|
"hello, \
|
|
world"
|
|
end
|
|
!CHECK: print *, "hello, world"
|
|
!CHECK: end
|
|
|