Debian Codegraph @

terps/tads/tads3/test/data/str_err.t

raw
1 /*
2 * This file just has a bunch of unclosed '<< >>' blocks for exercising
3 * the compiler's error recovery
4 */
5
6 #include "tads.h"
7 #include "t3.h"
8 #include "bignum.h"
9
10 main(args)
11 {
12 local i;
13 local j;
14
15 "Here's an expression: <<i.formatString(5)> \n";
16
17 "Here's one where we continue on
18 for a few lines afterwards: <<i.formatString(5))
19 So, clearly we forgot the string, but
20 now we continue on for a few lines.";
21
22 "Here's multiple missing close brackets:
23 <<i.formatString(5)><<j.logE(10)>>\n";
24
25 "Here's one where we close the quote immediately: <<i.logE(7)>>";
26 }
27