| | 1 | /* Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved. */ |
| | 2 | /* |
| | 3 | Name |
| | 4 | strings.t - test of multi-line strings for tokenizer |
| | 5 | Function |
| | 6 | |
| | 7 | Notes |
| | 8 | |
| | 9 | Modified |
| | 10 | 04/26/99 MJRoberts - Creation |
| | 11 | */ |
| | 12 | |
| | 13 | "Here's a string on just one line."; |
| | 14 | |
| | 15 | "This string is on |
| | 16 | two separate lines."; |
| | 17 | |
| | 18 | "This string goes on |
| | 19 | for several lines, |
| | 20 | |
| | 21 | including a blank line |
| | 22 | |
| | 23 | or two |
| | 24 | |
| | 25 | |
| | 26 | or three!!!"; |
| | 27 | |
| | 28 | "This string runs on for three lines, |
| | 29 | and has some more material on the |
| | 30 | line where it ends."; More_Material(); |
| | 31 | |
| | 32 | "This string has an /* embedded comment */ |
| | 33 | and then goes on to a second line."; |
| | 34 | |
| | 35 | Initial_Material(); "This string |
| | 36 | starts after some material, and |
| | 37 | has more after |
| | 38 | it ends."; Final_Material(); |
| | 39 | |
| | 40 | "This string has an <<embedded_expression()>> on one line."; |
| | 41 | |
| | 42 | "Here's an <<embedded_expression()>> |
| | 43 | on two lines."; |
| | 44 | |
| | 45 | "An <<embedded_expression() |
| | 46 | >> with the expression split over two lines. "; |
| | 47 | |
| | 48 | "More than just <<one_expression()>>, but |
| | 49 | even a <<second_expression()>>, |
| | 50 | and then a <<third_expression() |
| | 51 | + even_more()>> on another line!"; |
| | 52 | |
| | 53 | "Here's a string that we'll |
| | 54 | allow to appear unterminated. |
| | 55 | ; |
| | 56 | |
| | 57 | "That's it!"; |