fpp/compiler/tools/fpp-to-cpp/test/constants/constants_string.fpp
bocchino db35479b59 Revise lexing rules for strings
Revise code gen
Revise tests
2021-09-22 10:56:28 -07:00

10 lines
160 B
Fortran

@ Escaped quotation marks
constant s1 = "\"Hello,\" he said."
@ Escaped newlines
constant s2 = """Line 1.
Line 2."""
@ Escaped backslashes
constant s3 = "\\"