Debian Codegraph @

tests/languages/fortran/string_feature.test

raw
1 ""
2 ''
3 "foo ""bar"" baz"
4 'foo ''bar'' baz'
5 ITALICS_'foobar'
6 "foo &
7 &bar"
8 "foo &
9 ! Comment
10 &bar"
11
12 ----------------------------------------------------
13
14 [
15 ["string", ["\"\""]],
16 ["string", ["''"]],
17 ["string", ["\"foo \"\"bar\"\" baz\""]],
18 ["string", ["'foo ''bar'' baz'"]],
19 ["string", ["ITALICS_'foobar'"]],
20 ["string", ["\"foo &\r\n\t&bar\""]],
21 ["string", [
22 "\"foo &\r\n\t",
23 ["comment", "! Comment"],
24 "\r\n\t&bar\""
25 ]]
26 ]
27
28 ----------------------------------------------------
29
30 Checks for strings and line continuation.
31 Also checks for comments inside strings.