tests/languages/metafont/string_and_comment_feature.test
raw| 1 | % |
| 2 | % comment |
| 3 | "" |
| 4 | "string" |
| 5 | "text%noncomment" |
| 6 | %"not string" |
| 7 | |
| 8 | ---------------------------------------------------- |
| 9 | |
| 10 | [ |
| 11 | ["comment", "%"], |
| 12 | ["comment", "% comment"], |
| 13 | ["string", "\"\""], |
| 14 | ["string", "\"string\""], |
| 15 | ["string", "\"text%noncomment\""], |
| 16 | ["comment", "%\"not string\""] |
| 17 | ] |
| 18 | |
| 19 | ---------------------------------------------------- |
| 20 | |
| 21 | Checks for strings and comments without mangling. |