raz / commit b95e2655

commit
b95e2655915bfea00bbfe062019290673362fec5
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
fa4b6510
Limits: statements, expressions and types nested stop at 256, the stack of values says its limit and ends the compile, a ninth type argument names its limit; tests and compiler.md

patch · log

86 files changed, +2566 -13

doc/compiler.md (history) modified +32 -3

@@ -21,9 +21,9 @@
2121 | `src/Sym.raz` | 815 | 652 | Types, objects, scopes, layout |
2222 | `src/Chunk.raz` | 364 | 280 | The compiled program: chunks, fixups, line notes |
2323 | `src/X64.raz` | 1,621 | 1,330 | The instruction encoder, jumps within a procedure, the assembler |
24-| `src/Gen.raz` | 2,841 | 1,987 | The stack machine, for x86-64: values, operations, checks, calls, frames |
24+| `src/Gen.raz` | 2,846 | 1,989 | The stack machine, for x86-64: values, operations, checks, calls, frames |
2525 | `src/Item.raz` | 2,553 | 2,051 | Items: types, constants, variables, operators, conversions, calls |
26-| `src/Parse.raz` | 4,816 | 4,098 | Declarations, statements, expressions, built-ins, recovery, warnings |
26+| `src/Parse.raz` | 4,835 | 4,116 | Declarations, statements, expressions, built-ins, recovery, warnings |
2727 | `src/Link.raz` | 408 | 316 | Tree shaking, layout, patching, the places |
2828 | `src/Elf.raz` | 450 | 356 | Static and dynamic ELF, symbol table, line numbers |
2929 | `src/Host.raz` | 103 | 52 | The system running the compiler |
@@ -1961,7 +1961,7 @@
19611961 recovery point, `statement` or `declaration`, which looks at what came
19621962 back. At the start of its construct it called `guard`, which notes in a
19631963 `Recover` the scanner's state and the parser's (the scopes, gen's stack,
1964-the loop, the deferred statements, `quiet`). On an error `restore` puts
1964+the loop, the deferred statements, how deep it is nested, `quiet`). On an error `restore` puts
19651965 the state back, the construct's first symbol current again, and
19661966 `skipConstruct` reads past it, counting the words that open and close
19671967 blocks. A symbol at the start of a line ends the skip: by the usual
@@ -2533,6 +2533,35 @@
25332533 and so does a module with errors, after it. Two errors at the same
25342534 place are told as one. Any error is status 1, and no executable is
25352535 written.
2536+- **Limits.** The least of the report's section 10, and what this
2537+ compiler takes. Past its own, each stops with an error that names the
2538+ limit (`tooMany`, `Parse.raz`); `test/err` has a program for each,
2539+ and `conform/run/Limit*.raz` holds the report's least.
2540+
2541+ | | report's least | this compiler |
2542+ |---|---|---|
2543+ | statements, expressions and types nested | 63 levels of statements, 63 of parentheses and calls | 256 together (`MaxNest`) |
2544+ | values waiting in one expression | none given | 1,024 (`MaxStack`, `Gen.raz`) |
2545+ | chain of imports | 15 modules | 63 (`MaxPending`) |
2546+ | names declared together | 31 | 64 (`MaxNames`) |
2547+ | variables assigned together | 15 | 16 |
2548+ | elements in an array literal | 1,023 | 1,024 (`MaxElements`); a constant's has no limit of its own |
2549+ | labels in one `match` | 255 | 1,024 (`MaxLabels`) |
2550+ | deferred statements in force | 31 | 64 (`MaxDefers`) |
2551+ | type arguments to a generic module | 8 | 8 |
2552+
2553+ `nest` is the parser's own depth, so that a deeply nested program
2554+ can't overflow the compiler's stack. It counts a statement, a factor
2555+ (an operand, a parenthesis, a call, `not`) and a type; `guard` notes
2556+ it and `restore` sets it back, as for the rest of the parser's
2557+ state. A level costs at most about 3 KiB of stack (an operand, which
2558+ goes through `factor`, `term`, `simpleExpr`, `relation`, `conjunct`
2559+ and `expression`; a statement about 1.5 KiB, a type less), so 256
2560+ levels use under 1 MiB of the main thread's 8. The stack of values
2561+ is full before `MaxNest` when each level leaves several waiting, as a
2562+ call of many arguments does (63 nested calls of 15 arguments fit);
2563+ the compile then ends at once with the error, as the pops after it
2564+ would have no place to go.
25362565 - **Warnings.** Of a declaration never used, or a variable only
25372566 assigned (`warn`, `Parse.raz`): not of what is exported, a name that
25382567 starts with `_`, an enumeration's names or a generic module's

src/Gen.raz modified +10 -5

@@ -49,7 +49,9 @@
4949 error back, so it is shown and the call goes on without doing what
5050 it could not (see newEntry and check): the compile ends with the
5151 message, and the parser's recovery makes the stack right again with
52- resetStack. endProc returns its error, for the parser to pass up.
52+ resetStack. A full stack (newEntry) ends the compile at once: the pops
53+ after it would go below the stack. endProc returns its error, for the
54+ parser to pass up.
5355
5456 What the parser sets, `inPlace`, has a setter, as the exported
5557 variables can't be set from outside. The seed's types lose their T
@@ -195,6 +197,7 @@
195197 end;
196198
197199 const
200+ MaxStack = 1024; (* values waiting in one expression: 63 nested calls of up to 15 arguments each *)
198201 StubNames: [8][]const U8 = ["check0", "check1", "check2", "check3", "check4", "check5", "check6", "check7"];
199202 (* the registers of the stack: the value at depth d is in Regs[d mod
200203 NumRegs]. rax, rdx and rcx, which division and shifts need, and rsi
@@ -205,7 +208,7 @@
205208 IntRegs: [6]INT = [RDI, RSI, RDX, RCX, R8, R9];
206209
207210 var
208- stack: [256]Entry;
211+ stack: [MaxStack]Entry;
209212 owner: [NumRegs]INT; (* the value in each register, or -1 *)
210213 frameTop, frameMax, permTop: I64;
211214 frameFix: INT; (* where the frame size is patched in *)
@@ -432,12 +435,14 @@
432435 return loaded(depth - 1);
433436 end;
434437
435-(* A value on the stack's top. At the stack's last place it is shown as
436- an error and nothing is pushed: see the head of this unit. *)
438+(* A value on the stack's top. At the stack's last place the error is shown
439+ and the compile ends there: with nothing pushed, the pops after it would
440+ go below the stack. See the head of this unit. *)
437441 proc newEntry(k: Kind; loc: Loc; v: I64);
438442 begin
439443 if depth > LEN(stack) - 1 then
440- _ := Scan.mark("the expression is too deep");
444+ _ := Scan.mark(Diag.say("more than {} values waiting in one expression", [Fmt.int(MaxStack)]));
445+ Diag.finish(); (* ends the compile: an error was counted *)
441446 return;
442447 end;
443448 stack[depth].k := k;

src/Parse.raz (history) modified +34 -5

@@ -81,6 +81,7 @@
8181 MaxFixes = 4096; (* addresses in one constant *)
8282 MaxPending = 64; (* modules being compiled at once *)
8383 MaxFors = 256; (* for loops of a procedure whose limit may go in a register *)
84+ MaxNest = 256; (* statements, expressions and types nested; each level is a few recursive calls of the parser *)
8485 Suffixes: [4][]const U8 = [".linux-x86_64", ".linux", ".x86_64", ""];
8586
8687 var
@@ -102,6 +103,7 @@
102103 declExported: BOOL; (* the export mark of the declaration being read *)
103104 curLoop: PLoop; (* the innermost loop, or nil *)
104105 defers: [MaxDefers]INT; (* the defer statements in force, their code's addresses *)
106+ nest: INT; (* statements, expressions and types being read, one inside the other *)
105107 numDefers: INT;
106108 deferring: BOOL; (* compiling a defer statement's statement *)
107109 directDefer: BOOL; (* ... as the statement itself, not in a list *)
@@ -148,6 +150,7 @@
148150
149151 proc expression(var x: TItem; want: PType): ERROR; forward;
150152 proc parseType: (PType, ERROR); forward;
153+proc typeBody: (PType, ERROR); forward;
151154 proc statements: ERROR; forward;
152155 proc statement: ERROR; forward;
153156
@@ -206,6 +209,13 @@
206209 proc tooMany(n: INT; what: []const U8): []const U8;
207210 begin
208211 return Diag.say("more than {} {}", [Fmt.int(n), Fmt.str(what)]);
212+end;
213+
214+(* The error for a statement or an expression nested too deep: the parser calls itself
215+ for each level, so its depth is bounded to keep the stack well inside 8 MiB *)
216+proc tooDeep: ERROR;
217+begin
218+ return Scan.mark(tooMany(MaxNest, "statements, expressions and types nested"));
209219 end;
210220
211221 (* After an error at p: if a comment closed just before it, it most
@@ -346,7 +356,7 @@
346356 type
347357 Recover = record
348358 scan: Scan.State;
349- scopes, depth, pushed, numDefers: INT;
359+ scopes, depth, pushed, numDefers, nest: INT;
350360 guards: INT;
351361 loop: PLoop;
352362 result: PType;
@@ -357,7 +367,7 @@
357367 begin
358368 Scan.saveScan(r.scan);
359369 r.guards := guards;
360- r.scopes := Sym.scopeDepth(); r.depth := Gen.depth; r.pushed := Gen.pushed; r.numDefers := numDefers;
370+ r.scopes := Sym.scopeDepth(); r.depth := Gen.depth; r.pushed := Gen.pushed; r.numDefers := numDefers; r.nest := nest;
361371 r.loop := curLoop; r.result := curResult;
362372 r.deferring := deferring; r.directDefer := directDefer; r.quiet := Diag.quiet;
363373 INC(guards);
@@ -379,7 +389,7 @@
379389 Scan.setSkipping(true);
380390 Sym.cutScopes(r.scopes);
381391 Gen.resetStack(r.depth, r.pushed);
382- numDefers := r.numDefers;
392+ numDefers := r.numDefers; nest := r.nest;
383393 curLoop := r.loop; curResult := r.result;
384394 deferring := r.deferring; directDefer := r.directDefer;
385395 inTypes := false; declExported := false; inExtern := false; making := false;
@@ -913,7 +923,19 @@
913923 return t, nil;
914924 end;
915925
926+(* A type, read as typeBody does, counted as one more level of nesting, so that
927+ a type of types of types ... can't overflow the stack *)
916928 proc parseType: (PType, ERROR);
929+var t: PType; err: ERROR;
930+begin
931+ INC(nest);
932+ if nest > MaxNest then return nil, tooDeep(); end;
933+ t, err := typeBody();
934+ DEC(nest);
935+ return t, err;
936+end;
937+
938+proc typeBody: (PType, ERROR);
917939 var t: PType; o: PObj; n: I64; vol: BOOL; start: Diag.Pos;
918940 begin
919941 start := Scan.tokPos();
@@ -1877,6 +1899,8 @@
18771899 proc factor(var x: TItem; want: PType): ERROR;
18781900 var called, vol, several: BOOL; t: PType; start: INT; s: []const U8;
18791901 begin
1902+ INC(nest);
1903+ if nest > MaxNest then return tooDeep(); end;
18801904 several := passOn;
18811905 passOn := false;
18821906 start := Scan.tokStart();
@@ -1945,6 +1969,7 @@
19451969 | else: return expected("an expression");
19461970 end;
19471971 x.pos := Scan.spanFromAt(start);
1972+ DEC(nest);
19481973 return nil;
19491974 end;
19501975
@@ -2967,8 +2992,10 @@
29672992 begin
29682993 m := Gen.tempMark();
29692994 guard(r);
2970- err := oneStatement();
2995+ INC(nest);
2996+ if nest > MaxNest then err := tooDeep(); else err := oneStatement(); end;
29712997 if err = nil then
2998+ DEC(nest);
29722999 skipped := false;
29733000 else
29743001 restore(r);
@@ -4086,7 +4113,9 @@
40864113 begin
40874114 Scan.next;
40884115 repeat
4089- if args.n >= 8 then return Scan.mark(say1("too many type arguments for {}", mname)); end;
4116+ if args.n >= LEN(args.o) then
4117+ return Scan.mark(tooMany(LEN(args.o), say1("type arguments to {}", mname)));
4118+ end;
40904119 args.o[args.n] := nil;
40914120 start := Scan.tokPos();
40924121 if Scan.tok = Scan.sIdent then

test/err/DeclDeepImports.err (history) added +4 -0

@@ -0,0 +1,4 @@
1+test/err/mods/DeepChain64.raz:1:1: error: more than 64 imports nested deep
2+ 1 | module DeepChain64;
3+ | ^
4+raz: 1 error

test/err/DeclDeepImports.raz (history) added +7 -0

@@ -0,0 +1,7 @@
1+(* A chain of 64 modules importing each the next: at most 63 (MaxPending). *)
2+module DeclDeepImports;
3+import Out;
4+import DeepChain01;
5+begin
6+ Out.int(DeepChain01.depth()); Out.char('\n');
7+end DeclDeepImports.

test/err/DeclDeepTypes.err (history) added +7 -0

@@ -0,0 +1,7 @@
1+test/err/DeclDeepTypes.raz:4:257: error: more than 256 statements, expressions and types nested
2+ 4 | ...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^INT;
3+ | ^
4+test/err/DeclDeepTypes.raz:3:9: error: expected "end", found "^"
5+ 3 | type T =
6+ | ^
7+raz: 2 errors

test/err/DeclDeepTypes.raz (history) added +6 -0

@@ -0,0 +1,6 @@
1+(* A pointer type nested past 256 (MaxNest). *)
2+module DeclDeepTypes;
3+type T =
4+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^INT;
5+var x: T;
6+begin end DeclDeepTypes.

test/err/DeclManyTypeArgs.err (history) added +4 -0

@@ -0,0 +1,4 @@
1+test/err/DeclManyTypeArgs.raz:4:62: error: more than 8 type arguments to ManyArgs
2+ 4 | import M := ManyArgs(INT, INT, INT, INT, INT, INT, INT, INT, INT);
3+ | ^^^
4+raz: 1 error

test/err/DeclManyTypeArgs.raz (history) added +7 -0

@@ -0,0 +1,7 @@
1+(* A ninth type argument: a module takes at most 8. *)
2+module DeclManyTypeArgs;
3+import Out;
4+import M := ManyArgs(INT, INT, INT, INT, INT, INT, INT, INT, INT);
5+begin
6+ M.put(5); Out.int(M.get()); Out.char('\n');
7+end DeclManyTypeArgs.

test/err/StmtDeepExpr.err (history) added +7 -0

@@ -0,0 +1,7 @@
1+test/err/StmtDeepExpr.raz:8:265: error: more than 256 statements, expressions and types nested
2+ 8 | ...(((((((((((((((((((((((((((((((((((((((((((((((((((1))))))))))))))))))))))))))))))))))))))))))))))))...
3+ | ^
4+test/err/StmtDeepExpr.raz:10:775: error: more than 256 statements, expressions and types nested
5+ 10 | ...d(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(2))))))))))))))))))))))))))))))))))))))))))))))...
6+ | ^^
7+raz: 2 errors

test/err/StmtDeepExpr.raz (history) added +12 -0

@@ -0,0 +1,12 @@
1+(* Parentheses and calls nested past 256, with the statements around them (MaxNest). *)
2+module StmtDeepExpr;
3+import Out;
4+proc id(x: INT): INT;
5+begin return x; end;
6+var x: INT;
7+begin
8+ x := ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((1))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
9+ Out.int(x); Out.char('\n');
10+ x := id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
11+ Out.int(x); Out.char('\n');
12+end StmtDeepExpr.

test/err/StmtDeepStmts.err (history) added +4 -0

@@ -0,0 +1,4 @@
1+test/err/StmtDeepStmts.raz:262:8: error: more than 256 statements, expressions and types nested
2+ 262 | if true then
3+ | ^^^^
4+raz: 1 error

test/err/StmtDeepStmts.raz (history) added +521 -0

@@ -0,0 +1,521 @@
1+(* Statements nested past 256 (MaxNest). *)
2+module StmtDeepStmts;
3+import Out;
4+proc p;
5+var x: INT;
6+begin
7+ if true then
8+ if true then
9+ if true then
10+ if true then
11+ if true then
12+ if true then
13+ if true then
14+ if true then
15+ if true then
16+ if true then
17+ if true then
18+ if true then
19+ if true then
20+ if true then
21+ if true then
22+ if true then
23+ if true then
24+ if true then
25+ if true then
26+ if true then
27+ if true then
28+ if true then
29+ if true then
30+ if true then
31+ if true then
32+ if true then
33+ if true then
34+ if true then
35+ if true then
36+ if true then
37+ if true then
38+ if true then
39+ if true then
40+ if true then
41+ if true then
42+ if true then
43+ if true then
44+ if true then
45+ if true then
46+ if true then
47+ if true then
48+ if true then
49+ if true then
50+ if true then
51+ if true then
52+ if true then
53+ if true then
54+ if true then
55+ if true then
56+ if true then
57+ if true then
58+ if true then
59+ if true then
60+ if true then
61+ if true then
62+ if true then
63+ if true then
64+ if true then
65+ if true then
66+ if true then
67+ if true then
68+ if true then
69+ if true then
70+ if true then
71+ if true then
72+ if true then
73+ if true then
74+ if true then
75+ if true then
76+ if true then
77+ if true then
78+ if true then
79+ if true then
80+ if true then
81+ if true then
82+ if true then
83+ if true then
84+ if true then
85+ if true then
86+ if true then
87+ if true then
88+ if true then
89+ if true then
90+ if true then
91+ if true then
92+ if true then
93+ if true then
94+ if true then
95+ if true then
96+ if true then
97+ if true then
98+ if true then
99+ if true then
100+ if true then
101+ if true then
102+ if true then
103+ if true then
104+ if true then
105+ if true then
106+ if true then
107+ if true then
108+ if true then
109+ if true then
110+ if true then
111+ if true then
112+ if true then
113+ if true then
114+ if true then
115+ if true then
116+ if true then
117+ if true then
118+ if true then
119+ if true then
120+ if true then
121+ if true then
122+ if true then
123+ if true then
124+ if true then
125+ if true then
126+ if true then
127+ if true then
128+ if true then
129+ if true then
130+ if true then
131+ if true then
132+ if true then
133+ if true then
134+ if true then
135+ if true then
136+ if true then
137+ if true then
138+ if true then
139+ if true then
140+ if true then
141+ if true then
142+ if true then
143+ if true then
144+ if true then
145+ if true then
146+ if true then
147+ if true then
148+ if true then
149+ if true then
150+ if true then
151+ if true then
152+ if true then
153+ if true then
154+ if true then
155+ if true then
156+ if true then
157+ if true then
158+ if true then
159+ if true then
160+ if true then
161+ if true then
162+ if true then
163+ if true then
164+ if true then
165+ if true then
166+ if true then
167+ if true then
168+ if true then
169+ if true then
170+ if true then
171+ if true then
172+ if true then
173+ if true then
174+ if true then
175+ if true then
176+ if true then
177+ if true then
178+ if true then
179+ if true then
180+ if true then
181+ if true then
182+ if true then
183+ if true then
184+ if true then
185+ if true then
186+ if true then
187+ if true then
188+ if true then
189+ if true then
190+ if true then
191+ if true then
192+ if true then
193+ if true then
194+ if true then
195+ if true then
196+ if true then
197+ if true then
198+ if true then
199+ if true then
200+ if true then
201+ if true then
202+ if true then
203+ if true then
204+ if true then
205+ if true then
206+ if true then
207+ if true then
208+ if true then
209+ if true then
210+ if true then
211+ if true then
212+ if true then
213+ if true then
214+ if true then
215+ if true then
216+ if true then
217+ if true then
218+ if true then
219+ if true then
220+ if true then
221+ if true then
222+ if true then
223+ if true then
224+ if true then
225+ if true then
226+ if true then
227+ if true then
228+ if true then
229+ if true then
230+ if true then
231+ if true then
232+ if true then
233+ if true then
234+ if true then
235+ if true then
236+ if true then
237+ if true then
238+ if true then
239+ if true then
240+ if true then
241+ if true then
242+ if true then
243+ if true then
244+ if true then
245+ if true then
246+ if true then
247+ if true then
248+ if true then
249+ if true then
250+ if true then
251+ if true then
252+ if true then
253+ if true then
254+ if true then
255+ if true then
256+ if true then
257+ if true then
258+ if true then
259+ if true then
260+ if true then
261+ if true then
262+ if true then
263+ x := 7; Out.int(x); Out.char('\n');
264+ end;
265+ end;
266+ end;
267+ end;
268+ end;
269+ end;
270+ end;
271+ end;
272+ end;
273+ end;
274+ end;
275+ end;
276+ end;
277+ end;
278+ end;
279+ end;
280+ end;
281+ end;
282+ end;
283+ end;
284+ end;
285+ end;
286+ end;
287+ end;
288+ end;
289+ end;
290+ end;
291+ end;
292+ end;
293+ end;
294+ end;
295+ end;
296+ end;
297+ end;
298+ end;
299+ end;
300+ end;
301+ end;
302+ end;
303+ end;
304+ end;
305+ end;
306+ end;
307+ end;
308+ end;
309+ end;
310+ end;
311+ end;
312+ end;
313+ end;
314+ end;
315+ end;
316+ end;
317+ end;
318+ end;
319+ end;
320+ end;
321+ end;
322+ end;
323+ end;
324+ end;
325+ end;
326+ end;
327+ end;
328+ end;
329+ end;
330+ end;
331+ end;
332+ end;
333+ end;
334+ end;
335+ end;
336+ end;
337+ end;
338+ end;
339+ end;
340+ end;
341+ end;
342+ end;
343+ end;
344+ end;
345+ end;
346+ end;
347+ end;
348+ end;
349+ end;
350+ end;
351+ end;
352+ end;
353+ end;
354+ end;
355+ end;
356+ end;
357+ end;
358+ end;
359+ end;
360+ end;
361+ end;
362+ end;
363+ end;
364+ end;
365+ end;
366+ end;
367+ end;
368+ end;
369+ end;
370+ end;
371+ end;
372+ end;
373+ end;
374+ end;
375+ end;
376+ end;
377+ end;
378+ end;
379+ end;
380+ end;
381+ end;
382+ end;
383+ end;
384+ end;
385+ end;
386+ end;
387+ end;
388+ end;
389+ end;
390+ end;
391+ end;
392+ end;
393+ end;
394+ end;
395+ end;
396+ end;
397+ end;
398+ end;
399+ end;
400+ end;
401+ end;
402+ end;
403+ end;
404+ end;
405+ end;
406+ end;
407+ end;
408+ end;
409+ end;
410+ end;
411+ end;
412+ end;
413+ end;
414+ end;
415+ end;
416+ end;
417+ end;
418+ end;
419+ end;
420+ end;
421+ end;
422+ end;
423+ end;
424+ end;
425+ end;
426+ end;
427+ end;
428+ end;
429+ end;
430+ end;
431+ end;
432+ end;
433+ end;
434+ end;
435+ end;
436+ end;
437+ end;
438+ end;
439+ end;
440+ end;
441+ end;
442+ end;
443+ end;
444+ end;
445+ end;
446+ end;
447+ end;
448+ end;
449+ end;
450+ end;
451+ end;
452+ end;
453+ end;
454+ end;
455+ end;
456+ end;
457+ end;
458+ end;
459+ end;
460+ end;
461+ end;
462+ end;
463+ end;
464+ end;
465+ end;
466+ end;
467+ end;
468+ end;
469+ end;
470+ end;
471+ end;
472+ end;
473+ end;
474+ end;
475+ end;
476+ end;
477+ end;
478+ end;
479+ end;
480+ end;
481+ end;
482+ end;
483+ end;
484+ end;
485+ end;
486+ end;
487+ end;
488+ end;
489+ end;
490+ end;
491+ end;
492+ end;
493+ end;
494+ end;
495+ end;
496+ end;
497+ end;
498+ end;
499+ end;
500+ end;
501+ end;
502+ end;
503+ end;
504+ end;
505+ end;
506+ end;
507+ end;
508+ end;
509+ end;
510+ end;
511+ end;
512+ end;
513+ end;
514+ end;
515+ end;
516+ end;
517+ end;
518+ end;
519+ end;
520+ end;
521+begin p; end StmtDeepStmts.

test/err/StmtManyLabels.err (history) added +4 -0

@@ -0,0 +1,4 @@
1+test/err/StmtManyLabels.raz:1032:7: error: more than 1024 labels in one match
2+ 1032 | | 1025: Out.int(1025);
3+ | ^^^^
4+raz: 1 error

test/err/StmtManyLabels.raz (history) added +1036 -0

@@ -0,0 +1,1036 @@
1+(* One label more than the 1024 of a match (MaxLabels). *)
2+module StmtManyLabels;
3+import Out;
4+var x: INT;
5+begin
6+ x := 1025;
7+ match x of
8+ | 1: Out.int(1);
9+ | 2: Out.int(2);
10+ | 3: Out.int(3);
11+ | 4: Out.int(4);
12+ | 5: Out.int(5);
13+ | 6: Out.int(6);
14+ | 7: Out.int(7);
15+ | 8: Out.int(8);
16+ | 9: Out.int(9);
17+ | 10: Out.int(10);
18+ | 11: Out.int(11);
19+ | 12: Out.int(12);
20+ | 13: Out.int(13);
21+ | 14: Out.int(14);
22+ | 15: Out.int(15);
23+ | 16: Out.int(16);
24+ | 17: Out.int(17);
25+ | 18: Out.int(18);
26+ | 19: Out.int(19);
27+ | 20: Out.int(20);
28+ | 21: Out.int(21);
29+ | 22: Out.int(22);
30+ | 23: Out.int(23);
31+ | 24: Out.int(24);
32+ | 25: Out.int(25);
33+ | 26: Out.int(26);
34+ | 27: Out.int(27);
35+ | 28: Out.int(28);
36+ | 29: Out.int(29);
37+ | 30: Out.int(30);
38+ | 31: Out.int(31);
39+ | 32: Out.int(32);
40+ | 33: Out.int(33);
41+ | 34: Out.int(34);
42+ | 35: Out.int(35);
43+ | 36: Out.int(36);
44+ | 37: Out.int(37);
45+ | 38: Out.int(38);
46+ | 39: Out.int(39);
47+ | 40: Out.int(40);
48+ | 41: Out.int(41);
49+ | 42: Out.int(42);
50+ | 43: Out.int(43);
51+ | 44: Out.int(44);
52+ | 45: Out.int(45);
53+ | 46: Out.int(46);
54+ | 47: Out.int(47);
55+ | 48: Out.int(48);
56+ | 49: Out.int(49);
57+ | 50: Out.int(50);
58+ | 51: Out.int(51);
59+ | 52: Out.int(52);
60+ | 53: Out.int(53);
61+ | 54: Out.int(54);
62+ | 55: Out.int(55);
63+ | 56: Out.int(56);
64+ | 57: Out.int(57);
65+ | 58: Out.int(58);
66+ | 59: Out.int(59);
67+ | 60: Out.int(60);
68+ | 61: Out.int(61);
69+ | 62: Out.int(62);
70+ | 63: Out.int(63);
71+ | 64: Out.int(64);
72+ | 65: Out.int(65);
73+ | 66: Out.int(66);
74+ | 67: Out.int(67);
75+ | 68: Out.int(68);
76+ | 69: Out.int(69);
77+ | 70: Out.int(70);
78+ | 71: Out.int(71);
79+ | 72: Out.int(72);
80+ | 73: Out.int(73);
81+ | 74: Out.int(74);
82+ | 75: Out.int(75);
83+ | 76: Out.int(76);
84+ | 77: Out.int(77);
85+ | 78: Out.int(78);
86+ | 79: Out.int(79);
87+ | 80: Out.int(80);
88+ | 81: Out.int(81);
89+ | 82: Out.int(82);
90+ | 83: Out.int(83);
91+ | 84: Out.int(84);
92+ | 85: Out.int(85);
93+ | 86: Out.int(86);
94+ | 87: Out.int(87);
95+ | 88: Out.int(88);
96+ | 89: Out.int(89);
97+ | 90: Out.int(90);
98+ | 91: Out.int(91);
99+ | 92: Out.int(92);
100+ | 93: Out.int(93);
101+ | 94: Out.int(94);
102+ | 95: Out.int(95);
103+ | 96: Out.int(96);
104+ | 97: Out.int(97);
105+ | 98: Out.int(98);
106+ | 99: Out.int(99);
107+ | 100: Out.int(100);
108+ | 101: Out.int(101);
109+ | 102: Out.int(102);
110+ | 103: Out.int(103);
111+ | 104: Out.int(104);
112+ | 105: Out.int(105);
113+ | 106: Out.int(106);
114+ | 107: Out.int(107);
115+ | 108: Out.int(108);
116+ | 109: Out.int(109);
117+ | 110: Out.int(110);
118+ | 111: Out.int(111);
119+ | 112: Out.int(112);
120+ | 113: Out.int(113);
121+ | 114: Out.int(114);
122+ | 115: Out.int(115);
123+ | 116: Out.int(116);
124+ | 117: Out.int(117);
125+ | 118: Out.int(118);
126+ | 119: Out.int(119);
127+ | 120: Out.int(120);
128+ | 121: Out.int(121);
129+ | 122: Out.int(122);
130+ | 123: Out.int(123);
131+ | 124: Out.int(124);
132+ | 125: Out.int(125);
133+ | 126: Out.int(126);
134+ | 127: Out.int(127);
135+ | 128: Out.int(128);
136+ | 129: Out.int(129);
137+ | 130: Out.int(130);
138+ | 131: Out.int(131);
139+ | 132: Out.int(132);
140+ | 133: Out.int(133);
141+ | 134: Out.int(134);
142+ | 135: Out.int(135);
143+ | 136: Out.int(136);
144+ | 137: Out.int(137);
145+ | 138: Out.int(138);
146+ | 139: Out.int(139);
147+ | 140: Out.int(140);
148+ | 141: Out.int(141);
149+ | 142: Out.int(142);
150+ | 143: Out.int(143);
151+ | 144: Out.int(144);
152+ | 145: Out.int(145);
153+ | 146: Out.int(146);
154+ | 147: Out.int(147);
155+ | 148: Out.int(148);
156+ | 149: Out.int(149);
157+ | 150: Out.int(150);
158+ | 151: Out.int(151);
159+ | 152: Out.int(152);
160+ | 153: Out.int(153);
161+ | 154: Out.int(154);
162+ | 155: Out.int(155);
163+ | 156: Out.int(156);
164+ | 157: Out.int(157);
165+ | 158: Out.int(158);
166+ | 159: Out.int(159);
167+ | 160: Out.int(160);
168+ | 161: Out.int(161);
169+ | 162: Out.int(162);
170+ | 163: Out.int(163);
171+ | 164: Out.int(164);
172+ | 165: Out.int(165);
173+ | 166: Out.int(166);
174+ | 167: Out.int(167);
175+ | 168: Out.int(168);
176+ | 169: Out.int(169);
177+ | 170: Out.int(170);
178+ | 171: Out.int(171);
179+ | 172: Out.int(172);
180+ | 173: Out.int(173);
181+ | 174: Out.int(174);
182+ | 175: Out.int(175);
183+ | 176: Out.int(176);
184+ | 177: Out.int(177);
185+ | 178: Out.int(178);
186+ | 179: Out.int(179);
187+ | 180: Out.int(180);
188+ | 181: Out.int(181);
189+ | 182: Out.int(182);
190+ | 183: Out.int(183);
191+ | 184: Out.int(184);
192+ | 185: Out.int(185);
193+ | 186: Out.int(186);
194+ | 187: Out.int(187);
195+ | 188: Out.int(188);
196+ | 189: Out.int(189);
197+ | 190: Out.int(190);
198+ | 191: Out.int(191);
199+ | 192: Out.int(192);
200+ | 193: Out.int(193);
201+ | 194: Out.int(194);
202+ | 195: Out.int(195);
203+ | 196: Out.int(196);
204+ | 197: Out.int(197);
205+ | 198: Out.int(198);
206+ | 199: Out.int(199);
207+ | 200: Out.int(200);
208+ | 201: Out.int(201);
209+ | 202: Out.int(202);
210+ | 203: Out.int(203);
211+ | 204: Out.int(204);
212+ | 205: Out.int(205);
213+ | 206: Out.int(206);
214+ | 207: Out.int(207);
215+ | 208: Out.int(208);
216+ | 209: Out.int(209);
217+ | 210: Out.int(210);
218+ | 211: Out.int(211);
219+ | 212: Out.int(212);
220+ | 213: Out.int(213);
221+ | 214: Out.int(214);
222+ | 215: Out.int(215);
223+ | 216: Out.int(216);
224+ | 217: Out.int(217);
225+ | 218: Out.int(218);
226+ | 219: Out.int(219);
227+ | 220: Out.int(220);
228+ | 221: Out.int(221);
229+ | 222: Out.int(222);
230+ | 223: Out.int(223);
231+ | 224: Out.int(224);
232+ | 225: Out.int(225);
233+ | 226: Out.int(226);
234+ | 227: Out.int(227);
235+ | 228: Out.int(228);
236+ | 229: Out.int(229);
237+ | 230: Out.int(230);
238+ | 231: Out.int(231);
239+ | 232: Out.int(232);
240+ | 233: Out.int(233);
241+ | 234: Out.int(234);
242+ | 235: Out.int(235);
243+ | 236: Out.int(236);
244+ | 237: Out.int(237);
245+ | 238: Out.int(238);
246+ | 239: Out.int(239);
247+ | 240: Out.int(240);
248+ | 241: Out.int(241);
249+ | 242: Out.int(242);
250+ | 243: Out.int(243);
251+ | 244: Out.int(244);
252+ | 245: Out.int(245);
253+ | 246: Out.int(246);
254+ | 247: Out.int(247);
255+ | 248: Out.int(248);
256+ | 249: Out.int(249);
257+ | 250: Out.int(250);
258+ | 251: Out.int(251);
259+ | 252: Out.int(252);
260+ | 253: Out.int(253);
261+ | 254: Out.int(254);
262+ | 255: Out.int(255);
263+ | 256: Out.int(256);
264+ | 257: Out.int(257);
265+ | 258: Out.int(258);
266+ | 259: Out.int(259);
267+ | 260: Out.int(260);
268+ | 261: Out.int(261);
269+ | 262: Out.int(262);
270+ | 263: Out.int(263);
271+ | 264: Out.int(264);
272+ | 265: Out.int(265);
273+ | 266: Out.int(266);
274+ | 267: Out.int(267);
275+ | 268: Out.int(268);
276+ | 269: Out.int(269);
277+ | 270: Out.int(270);
278+ | 271: Out.int(271);
279+ | 272: Out.int(272);
280+ | 273: Out.int(273);
281+ | 274: Out.int(274);
282+ | 275: Out.int(275);
283+ | 276: Out.int(276);
284+ | 277: Out.int(277);
285+ | 278: Out.int(278);
286+ | 279: Out.int(279);
287+ | 280: Out.int(280);
288+ | 281: Out.int(281);
289+ | 282: Out.int(282);
290+ | 283: Out.int(283);
291+ | 284: Out.int(284);
292+ | 285: Out.int(285);
293+ | 286: Out.int(286);
294+ | 287: Out.int(287);
295+ | 288: Out.int(288);
296+ | 289: Out.int(289);
297+ | 290: Out.int(290);
298+ | 291: Out.int(291);
299+ | 292: Out.int(292);
300+ | 293: Out.int(293);
301+ | 294: Out.int(294);
302+ | 295: Out.int(295);
303+ | 296: Out.int(296);
304+ | 297: Out.int(297);
305+ | 298: Out.int(298);
306+ | 299: Out.int(299);
307+ | 300: Out.int(300);
308+ | 301: Out.int(301);
309+ | 302: Out.int(302);
310+ | 303: Out.int(303);
311+ | 304: Out.int(304);
312+ | 305: Out.int(305);
313+ | 306: Out.int(306);
314+ | 307: Out.int(307);
315+ | 308: Out.int(308);
316+ | 309: Out.int(309);
317+ | 310: Out.int(310);
318+ | 311: Out.int(311);
319+ | 312: Out.int(312);
320+ | 313: Out.int(313);
321+ | 314: Out.int(314);
322+ | 315: Out.int(315);
323+ | 316: Out.int(316);
324+ | 317: Out.int(317);
325+ | 318: Out.int(318);
326+ | 319: Out.int(319);
327+ | 320: Out.int(320);
328+ | 321: Out.int(321);
329+ | 322: Out.int(322);
330+ | 323: Out.int(323);
331+ | 324: Out.int(324);
332+ | 325: Out.int(325);
333+ | 326: Out.int(326);
334+ | 327: Out.int(327);
335+ | 328: Out.int(328);
336+ | 329: Out.int(329);
337+ | 330: Out.int(330);
338+ | 331: Out.int(331);
339+ | 332: Out.int(332);
340+ | 333: Out.int(333);
341+ | 334: Out.int(334);
342+ | 335: Out.int(335);
343+ | 336: Out.int(336);
344+ | 337: Out.int(337);
345+ | 338: Out.int(338);
346+ | 339: Out.int(339);
347+ | 340: Out.int(340);
348+ | 341: Out.int(341);
349+ | 342: Out.int(342);
350+ | 343: Out.int(343);
351+ | 344: Out.int(344);
352+ | 345: Out.int(345);
353+ | 346: Out.int(346);
354+ | 347: Out.int(347);
355+ | 348: Out.int(348);
356+ | 349: Out.int(349);
357+ | 350: Out.int(350);
358+ | 351: Out.int(351);
359+ | 352: Out.int(352);
360+ | 353: Out.int(353);
361+ | 354: Out.int(354);
362+ | 355: Out.int(355);
363+ | 356: Out.int(356);
364+ | 357: Out.int(357);
365+ | 358: Out.int(358);
366+ | 359: Out.int(359);
367+ | 360: Out.int(360);
368+ | 361: Out.int(361);
369+ | 362: Out.int(362);
370+ | 363: Out.int(363);
371+ | 364: Out.int(364);
372+ | 365: Out.int(365);
373+ | 366: Out.int(366);
374+ | 367: Out.int(367);
375+ | 368: Out.int(368);
376+ | 369: Out.int(369);
377+ | 370: Out.int(370);
378+ | 371: Out.int(371);
379+ | 372: Out.int(372);
380+ | 373: Out.int(373);
381+ | 374: Out.int(374);
382+ | 375: Out.int(375);
383+ | 376: Out.int(376);
384+ | 377: Out.int(377);
385+ | 378: Out.int(378);
386+ | 379: Out.int(379);
387+ | 380: Out.int(380);
388+ | 381: Out.int(381);
389+ | 382: Out.int(382);
390+ | 383: Out.int(383);
391+ | 384: Out.int(384);
392+ | 385: Out.int(385);
393+ | 386: Out.int(386);
394+ | 387: Out.int(387);
395+ | 388: Out.int(388);
396+ | 389: Out.int(389);
397+ | 390: Out.int(390);
398+ | 391: Out.int(391);
399+ | 392: Out.int(392);
400+ | 393: Out.int(393);
401+ | 394: Out.int(394);
402+ | 395: Out.int(395);
403+ | 396: Out.int(396);
404+ | 397: Out.int(397);
405+ | 398: Out.int(398);
406+ | 399: Out.int(399);
407+ | 400: Out.int(400);
408+ | 401: Out.int(401);
409+ | 402: Out.int(402);
410+ | 403: Out.int(403);
411+ | 404: Out.int(404);
412+ | 405: Out.int(405);
413+ | 406: Out.int(406);
414+ | 407: Out.int(407);
415+ | 408: Out.int(408);
416+ | 409: Out.int(409);
417+ | 410: Out.int(410);
418+ | 411: Out.int(411);
419+ | 412: Out.int(412);
420+ | 413: Out.int(413);
421+ | 414: Out.int(414);
422+ | 415: Out.int(415);
423+ | 416: Out.int(416);
424+ | 417: Out.int(417);
425+ | 418: Out.int(418);
426+ | 419: Out.int(419);
427+ | 420: Out.int(420);
428+ | 421: Out.int(421);
429+ | 422: Out.int(422);
430+ | 423: Out.int(423);
431+ | 424: Out.int(424);
432+ | 425: Out.int(425);
433+ | 426: Out.int(426);
434+ | 427: Out.int(427);
435+ | 428: Out.int(428);
436+ | 429: Out.int(429);
437+ | 430: Out.int(430);
438+ | 431: Out.int(431);
439+ | 432: Out.int(432);
440+ | 433: Out.int(433);
441+ | 434: Out.int(434);
442+ | 435: Out.int(435);
443+ | 436: Out.int(436);
444+ | 437: Out.int(437);
445+ | 438: Out.int(438);
446+ | 439: Out.int(439);
447+ | 440: Out.int(440);
448+ | 441: Out.int(441);
449+ | 442: Out.int(442);
450+ | 443: Out.int(443);
451+ | 444: Out.int(444);
452+ | 445: Out.int(445);
453+ | 446: Out.int(446);
454+ | 447: Out.int(447);
455+ | 448: Out.int(448);
456+ | 449: Out.int(449);
457+ | 450: Out.int(450);
458+ | 451: Out.int(451);
459+ | 452: Out.int(452);
460+ | 453: Out.int(453);
461+ | 454: Out.int(454);
462+ | 455: Out.int(455);
463+ | 456: Out.int(456);
464+ | 457: Out.int(457);
465+ | 458: Out.int(458);
466+ | 459: Out.int(459);
467+ | 460: Out.int(460);
468+ | 461: Out.int(461);
469+ | 462: Out.int(462);
470+ | 463: Out.int(463);
471+ | 464: Out.int(464);
472+ | 465: Out.int(465);
473+ | 466: Out.int(466);
474+ | 467: Out.int(467);
475+ | 468: Out.int(468);
476+ | 469: Out.int(469);
477+ | 470: Out.int(470);
478+ | 471: Out.int(471);
479+ | 472: Out.int(472);
480+ | 473: Out.int(473);
481+ | 474: Out.int(474);
482+ | 475: Out.int(475);
483+ | 476: Out.int(476);
484+ | 477: Out.int(477);
485+ | 478: Out.int(478);
486+ | 479: Out.int(479);
487+ | 480: Out.int(480);
488+ | 481: Out.int(481);
489+ | 482: Out.int(482);
490+ | 483: Out.int(483);
491+ | 484: Out.int(484);
492+ | 485: Out.int(485);
493+ | 486: Out.int(486);
494+ | 487: Out.int(487);
495+ | 488: Out.int(488);
496+ | 489: Out.int(489);
497+ | 490: Out.int(490);
498+ | 491: Out.int(491);
499+ | 492: Out.int(492);
500+ | 493: Out.int(493);
501+ | 494: Out.int(494);
502+ | 495: Out.int(495);
503+ | 496: Out.int(496);
504+ | 497: Out.int(497);
505+ | 498: Out.int(498);
506+ | 499: Out.int(499);
507+ | 500: Out.int(500);
508+ | 501: Out.int(501);
509+ | 502: Out.int(502);
510+ | 503: Out.int(503);
511+ | 504: Out.int(504);
512+ | 505: Out.int(505);
513+ | 506: Out.int(506);
514+ | 507: Out.int(507);
515+ | 508: Out.int(508);
516+ | 509: Out.int(509);
517+ | 510: Out.int(510);
518+ | 511: Out.int(511);
519+ | 512: Out.int(512);
520+ | 513: Out.int(513);
521+ | 514: Out.int(514);
522+ | 515: Out.int(515);
523+ | 516: Out.int(516);
524+ | 517: Out.int(517);
525+ | 518: Out.int(518);
526+ | 519: Out.int(519);
527+ | 520: Out.int(520);
528+ | 521: Out.int(521);
529+ | 522: Out.int(522);
530+ | 523: Out.int(523);
531+ | 524: Out.int(524);
532+ | 525: Out.int(525);
533+ | 526: Out.int(526);
534+ | 527: Out.int(527);
535+ | 528: Out.int(528);
536+ | 529: Out.int(529);
537+ | 530: Out.int(530);
538+ | 531: Out.int(531);
539+ | 532: Out.int(532);
540+ | 533: Out.int(533);
541+ | 534: Out.int(534);
542+ | 535: Out.int(535);
543+ | 536: Out.int(536);
544+ | 537: Out.int(537);
545+ | 538: Out.int(538);
546+ | 539: Out.int(539);
547+ | 540: Out.int(540);
548+ | 541: Out.int(541);
549+ | 542: Out.int(542);
550+ | 543: Out.int(543);
551+ | 544: Out.int(544);
552+ | 545: Out.int(545);
553+ | 546: Out.int(546);
554+ | 547: Out.int(547);
555+ | 548: Out.int(548);
556+ | 549: Out.int(549);
557+ | 550: Out.int(550);
558+ | 551: Out.int(551);
559+ | 552: Out.int(552);
560+ | 553: Out.int(553);
561+ | 554: Out.int(554);
562+ | 555: Out.int(555);
563+ | 556: Out.int(556);
564+ | 557: Out.int(557);
565+ | 558: Out.int(558);
566+ | 559: Out.int(559);
567+ | 560: Out.int(560);
568+ | 561: Out.int(561);
569+ | 562: Out.int(562);
570+ | 563: Out.int(563);
571+ | 564: Out.int(564);
572+ | 565: Out.int(565);
573+ | 566: Out.int(566);
574+ | 567: Out.int(567);
575+ | 568: Out.int(568);
576+ | 569: Out.int(569);
577+ | 570: Out.int(570);
578+ | 571: Out.int(571);
579+ | 572: Out.int(572);
580+ | 573: Out.int(573);
581+ | 574: Out.int(574);
582+ | 575: Out.int(575);
583+ | 576: Out.int(576);
584+ | 577: Out.int(577);
585+ | 578: Out.int(578);
586+ | 579: Out.int(579);
587+ | 580: Out.int(580);
588+ | 581: Out.int(581);
589+ | 582: Out.int(582);
590+ | 583: Out.int(583);
591+ | 584: Out.int(584);
592+ | 585: Out.int(585);
593+ | 586: Out.int(586);
594+ | 587: Out.int(587);
595+ | 588: Out.int(588);
596+ | 589: Out.int(589);
597+ | 590: Out.int(590);
598+ | 591: Out.int(591);
599+ | 592: Out.int(592);
600+ | 593: Out.int(593);
601+ | 594: Out.int(594);
602+ | 595: Out.int(595);
603+ | 596: Out.int(596);
604+ | 597: Out.int(597);
605+ | 598: Out.int(598);
606+ | 599: Out.int(599);
607+ | 600: Out.int(600);
608+ | 601: Out.int(601);
609+ | 602: Out.int(602);
610+ | 603: Out.int(603);
611+ | 604: Out.int(604);
612+ | 605: Out.int(605);
613+ | 606: Out.int(606);
614+ | 607: Out.int(607);
615+ | 608: Out.int(608);
616+ | 609: Out.int(609);
617+ | 610: Out.int(610);
618+ | 611: Out.int(611);
619+ | 612: Out.int(612);
620+ | 613: Out.int(613);
621+ | 614: Out.int(614);
622+ | 615: Out.int(615);
623+ | 616: Out.int(616);
624+ | 617: Out.int(617);
625+ | 618: Out.int(618);
626+ | 619: Out.int(619);
627+ | 620: Out.int(620);
628+ | 621: Out.int(621);
629+ | 622: Out.int(622);
630+ | 623: Out.int(623);
631+ | 624: Out.int(624);
632+ | 625: Out.int(625);
633+ | 626: Out.int(626);
634+ | 627: Out.int(627);
635+ | 628: Out.int(628);
636+ | 629: Out.int(629);
637+ | 630: Out.int(630);
638+ | 631: Out.int(631);
639+ | 632: Out.int(632);
640+ | 633: Out.int(633);
641+ | 634: Out.int(634);
642+ | 635: Out.int(635);
643+ | 636: Out.int(636);
644+ | 637: Out.int(637);
645+ | 638: Out.int(638);
646+ | 639: Out.int(639);
647+ | 640: Out.int(640);
648+ | 641: Out.int(641);
649+ | 642: Out.int(642);
650+ | 643: Out.int(643);
651+ | 644: Out.int(644);
652+ | 645: Out.int(645);
653+ | 646: Out.int(646);
654+ | 647: Out.int(647);
655+ | 648: Out.int(648);
656+ | 649: Out.int(649);
657+ | 650: Out.int(650);
658+ | 651: Out.int(651);
659+ | 652: Out.int(652);
660+ | 653: Out.int(653);
661+ | 654: Out.int(654);
662+ | 655: Out.int(655);
663+ | 656: Out.int(656);
664+ | 657: Out.int(657);
665+ | 658: Out.int(658);
666+ | 659: Out.int(659);
667+ | 660: Out.int(660);
668+ | 661: Out.int(661);
669+ | 662: Out.int(662);
670+ | 663: Out.int(663);
671+ | 664: Out.int(664);
672+ | 665: Out.int(665);
673+ | 666: Out.int(666);
674+ | 667: Out.int(667);
675+ | 668: Out.int(668);
676+ | 669: Out.int(669);
677+ | 670: Out.int(670);
678+ | 671: Out.int(671);
679+ | 672: Out.int(672);
680+ | 673: Out.int(673);
681+ | 674: Out.int(674);
682+ | 675: Out.int(675);
683+ | 676: Out.int(676);
684+ | 677: Out.int(677);
685+ | 678: Out.int(678);
686+ | 679: Out.int(679);
687+ | 680: Out.int(680);
688+ | 681: Out.int(681);
689+ | 682: Out.int(682);
690+ | 683: Out.int(683);
691+ | 684: Out.int(684);
692+ | 685: Out.int(685);
693+ | 686: Out.int(686);
694+ | 687: Out.int(687);
695+ | 688: Out.int(688);
696+ | 689: Out.int(689);
697+ | 690: Out.int(690);
698+ | 691: Out.int(691);
699+ | 692: Out.int(692);
700+ | 693: Out.int(693);
701+ | 694: Out.int(694);
702+ | 695: Out.int(695);
703+ | 696: Out.int(696);
704+ | 697: Out.int(697);
705+ | 698: Out.int(698);
706+ | 699: Out.int(699);
707+ | 700: Out.int(700);
708+ | 701: Out.int(701);
709+ | 702: Out.int(702);
710+ | 703: Out.int(703);
711+ | 704: Out.int(704);
712+ | 705: Out.int(705);
713+ | 706: Out.int(706);
714+ | 707: Out.int(707);
715+ | 708: Out.int(708);
716+ | 709: Out.int(709);
717+ | 710: Out.int(710);
718+ | 711: Out.int(711);
719+ | 712: Out.int(712);
720+ | 713: Out.int(713);
721+ | 714: Out.int(714);
722+ | 715: Out.int(715);
723+ | 716: Out.int(716);
724+ | 717: Out.int(717);
725+ | 718: Out.int(718);
726+ | 719: Out.int(719);
727+ | 720: Out.int(720);
728+ | 721: Out.int(721);
729+ | 722: Out.int(722);
730+ | 723: Out.int(723);
731+ | 724: Out.int(724);
732+ | 725: Out.int(725);
733+ | 726: Out.int(726);
734+ | 727: Out.int(727);
735+ | 728: Out.int(728);
736+ | 729: Out.int(729);
737+ | 730: Out.int(730);
738+ | 731: Out.int(731);
739+ | 732: Out.int(732);
740+ | 733: Out.int(733);
741+ | 734: Out.int(734);
742+ | 735: Out.int(735);
743+ | 736: Out.int(736);
744+ | 737: Out.int(737);
745+ | 738: Out.int(738);
746+ | 739: Out.int(739);
747+ | 740: Out.int(740);
748+ | 741: Out.int(741);
749+ | 742: Out.int(742);
750+ | 743: Out.int(743);
751+ | 744: Out.int(744);
752+ | 745: Out.int(745);
753+ | 746: Out.int(746);
754+ | 747: Out.int(747);
755+ | 748: Out.int(748);
756+ | 749: Out.int(749);
757+ | 750: Out.int(750);
758+ | 751: Out.int(751);
759+ | 752: Out.int(752);
760+ | 753: Out.int(753);
761+ | 754: Out.int(754);
762+ | 755: Out.int(755);
763+ | 756: Out.int(756);
764+ | 757: Out.int(757);
765+ | 758: Out.int(758);
766+ | 759: Out.int(759);
767+ | 760: Out.int(760);
768+ | 761: Out.int(761);
769+ | 762: Out.int(762);
770+ | 763: Out.int(763);
771+ | 764: Out.int(764);
772+ | 765: Out.int(765);
773+ | 766: Out.int(766);
774+ | 767: Out.int(767);
775+ | 768: Out.int(768);
776+ | 769: Out.int(769);
777+ | 770: Out.int(770);
778+ | 771: Out.int(771);
779+ | 772: Out.int(772);
780+ | 773: Out.int(773);
781+ | 774: Out.int(774);
782+ | 775: Out.int(775);
783+ | 776: Out.int(776);
784+ | 777: Out.int(777);
785+ | 778: Out.int(778);
786+ | 779: Out.int(779);
787+ | 780: Out.int(780);
788+ | 781: Out.int(781);
789+ | 782: Out.int(782);
790+ | 783: Out.int(783);
791+ | 784: Out.int(784);
792+ | 785: Out.int(785);
793+ | 786: Out.int(786);
794+ | 787: Out.int(787);
795+ | 788: Out.int(788);
796+ | 789: Out.int(789);
797+ | 790: Out.int(790);
798+ | 791: Out.int(791);
799+ | 792: Out.int(792);
800+ | 793: Out.int(793);
801+ | 794: Out.int(794);
802+ | 795: Out.int(795);
803+ | 796: Out.int(796);
804+ | 797: Out.int(797);
805+ | 798: Out.int(798);
806+ | 799: Out.int(799);
807+ | 800: Out.int(800);
808+ | 801: Out.int(801);
809+ | 802: Out.int(802);
810+ | 803: Out.int(803);
811+ | 804: Out.int(804);
812+ | 805: Out.int(805);
813+ | 806: Out.int(806);
814+ | 807: Out.int(807);
815+ | 808: Out.int(808);
816+ | 809: Out.int(809);
817+ | 810: Out.int(810);
818+ | 811: Out.int(811);
819+ | 812: Out.int(812);
820+ | 813: Out.int(813);
821+ | 814: Out.int(814);
822+ | 815: Out.int(815);
823+ | 816: Out.int(816);
824+ | 817: Out.int(817);
825+ | 818: Out.int(818);
826+ | 819: Out.int(819);
827+ | 820: Out.int(820);
828+ | 821: Out.int(821);
829+ | 822: Out.int(822);
830+ | 823: Out.int(823);
831+ | 824: Out.int(824);
832+ | 825: Out.int(825);
833+ | 826: Out.int(826);
834+ | 827: Out.int(827);
835+ | 828: Out.int(828);
836+ | 829: Out.int(829);
837+ | 830: Out.int(830);
838+ | 831: Out.int(831);
839+ | 832: Out.int(832);
840+ | 833: Out.int(833);
841+ | 834: Out.int(834);
842+ | 835: Out.int(835);
843+ | 836: Out.int(836);
844+ | 837: Out.int(837);
845+ | 838: Out.int(838);
846+ | 839: Out.int(839);
847+ | 840: Out.int(840);
848+ | 841: Out.int(841);
849+ | 842: Out.int(842);
850+ | 843: Out.int(843);
851+ | 844: Out.int(844);
852+ | 845: Out.int(845);
853+ | 846: Out.int(846);
854+ | 847: Out.int(847);
855+ | 848: Out.int(848);
856+ | 849: Out.int(849);
857+ | 850: Out.int(850);
858+ | 851: Out.int(851);
859+ | 852: Out.int(852);
860+ | 853: Out.int(853);
861+ | 854: Out.int(854);
862+ | 855: Out.int(855);
863+ | 856: Out.int(856);
864+ | 857: Out.int(857);
865+ | 858: Out.int(858);
866+ | 859: Out.int(859);
867+ | 860: Out.int(860);
868+ | 861: Out.int(861);
869+ | 862: Out.int(862);
870+ | 863: Out.int(863);
871+ | 864: Out.int(864);
872+ | 865: Out.int(865);
873+ | 866: Out.int(866);
874+ | 867: Out.int(867);
875+ | 868: Out.int(868);
876+ | 869: Out.int(869);
877+ | 870: Out.int(870);
878+ | 871: Out.int(871);
879+ | 872: Out.int(872);
880+ | 873: Out.int(873);
881+ | 874: Out.int(874);
882+ | 875: Out.int(875);
883+ | 876: Out.int(876);
884+ | 877: Out.int(877);
885+ | 878: Out.int(878);
886+ | 879: Out.int(879);
887+ | 880: Out.int(880);
888+ | 881: Out.int(881);
889+ | 882: Out.int(882);
890+ | 883: Out.int(883);
891+ | 884: Out.int(884);
892+ | 885: Out.int(885);
893+ | 886: Out.int(886);
894+ | 887: Out.int(887);
895+ | 888: Out.int(888);
896+ | 889: Out.int(889);
897+ | 890: Out.int(890);
898+ | 891: Out.int(891);
899+ | 892: Out.int(892);
900+ | 893: Out.int(893);
901+ | 894: Out.int(894);
902+ | 895: Out.int(895);
903+ | 896: Out.int(896);
904+ | 897: Out.int(897);
905+ | 898: Out.int(898);
906+ | 899: Out.int(899);
907+ | 900: Out.int(900);
908+ | 901: Out.int(901);
909+ | 902: Out.int(902);
910+ | 903: Out.int(903);
911+ | 904: Out.int(904);
912+ | 905: Out.int(905);
913+ | 906: Out.int(906);
914+ | 907: Out.int(907);
915+ | 908: Out.int(908);
916+ | 909: Out.int(909);
917+ | 910: Out.int(910);
918+ | 911: Out.int(911);
919+ | 912: Out.int(912);
920+ | 913: Out.int(913);
921+ | 914: Out.int(914);
922+ | 915: Out.int(915);
923+ | 916: Out.int(916);
924+ | 917: Out.int(917);
925+ | 918: Out.int(918);
926+ | 919: Out.int(919);
927+ | 920: Out.int(920);
928+ | 921: Out.int(921);
929+ | 922: Out.int(922);
930+ | 923: Out.int(923);
931+ | 924: Out.int(924);
932+ | 925: Out.int(925);
933+ | 926: Out.int(926);
934+ | 927: Out.int(927);
935+ | 928: Out.int(928);
936+ | 929: Out.int(929);
937+ | 930: Out.int(930);
938+ | 931: Out.int(931);
939+ | 932: Out.int(932);
940+ | 933: Out.int(933);
941+ | 934: Out.int(934);
942+ | 935: Out.int(935);
943+ | 936: Out.int(936);
944+ | 937: Out.int(937);
945+ | 938: Out.int(938);
946+ | 939: Out.int(939);
947+ | 940: Out.int(940);
948+ | 941: Out.int(941);
949+ | 942: Out.int(942);
950+ | 943: Out.int(943);
951+ | 944: Out.int(944);
952+ | 945: Out.int(945);
953+ | 946: Out.int(946);
954+ | 947: Out.int(947);
955+ | 948: Out.int(948);
956+ | 949: Out.int(949);
957+ | 950: Out.int(950);
958+ | 951: Out.int(951);
959+ | 952: Out.int(952);
960+ | 953: Out.int(953);
961+ | 954: Out.int(954);
962+ | 955: Out.int(955);
963+ | 956: Out.int(956);
964+ | 957: Out.int(957);
965+ | 958: Out.int(958);
966+ | 959: Out.int(959);
967+ | 960: Out.int(960);
968+ | 961: Out.int(961);
969+ | 962: Out.int(962);
970+ | 963: Out.int(963);
971+ | 964: Out.int(964);
972+ | 965: Out.int(965);
973+ | 966: Out.int(966);
974+ | 967: Out.int(967);
975+ | 968: Out.int(968);
976+ | 969: Out.int(969);
977+ | 970: Out.int(970);
978+ | 971: Out.int(971);
979+ | 972: Out.int(972);
980+ | 973: Out.int(973);
981+ | 974: Out.int(974);
982+ | 975: Out.int(975);
983+ | 976: Out.int(976);
984+ | 977: Out.int(977);
985+ | 978: Out.int(978);
986+ | 979: Out.int(979);
987+ | 980: Out.int(980);
988+ | 981: Out.int(981);
989+ | 982: Out.int(982);
990+ | 983: Out.int(983);
991+ | 984: Out.int(984);
992+ | 985: Out.int(985);
993+ | 986: Out.int(986);
994+ | 987: Out.int(987);
995+ | 988: Out.int(988);
996+ | 989: Out.int(989);
997+ | 990: Out.int(990);
998+ | 991: Out.int(991);
999+ | 992: Out.int(992);
1000+ | 993: Out.int(993);
1001+ | 994: Out.int(994);
1002+ | 995: Out.int(995);
1003+ | 996: Out.int(996);
1004+ | 997: Out.int(997);
1005+ | 998: Out.int(998);
1006+ | 999: Out.int(999);
1007+ | 1000: Out.int(1000);
1008+ | 1001: Out.int(1001);
1009+ | 1002: Out.int(1002);
1010+ | 1003: Out.int(1003);
1011+ | 1004: Out.int(1004);
1012+ | 1005: Out.int(1005);
1013+ | 1006: Out.int(1006);
1014+ | 1007: Out.int(1007);
1015+ | 1008: Out.int(1008);
1016+ | 1009: Out.int(1009);
1017+ | 1010: Out.int(1010);
1018+ | 1011: Out.int(1011);
1019+ | 1012: Out.int(1012);
1020+ | 1013: Out.int(1013);
1021+ | 1014: Out.int(1014);
1022+ | 1015: Out.int(1015);
1023+ | 1016: Out.int(1016);
1024+ | 1017: Out.int(1017);
1025+ | 1018: Out.int(1018);
1026+ | 1019: Out.int(1019);
1027+ | 1020: Out.int(1020);
1028+ | 1021: Out.int(1021);
1029+ | 1022: Out.int(1022);
1030+ | 1023: Out.int(1023);
1031+ | 1024: Out.int(1024);
1032+ | 1025: Out.int(1025);
1033+ | else: Out.int(0);
1034+ end;
1035+ Out.char('\n');
1036+end StmtManyLabels.

test/err/StmtManyValues.err (history) added +4 -0

@@ -0,0 +1,4 @@
1+test/err/StmtManyValues.raz:8:3377: error: more than 1024 values waiting in one expression
2+ 8 | ...2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, 1))))))))))))...
3+ | ^
4+raz: 1 error

test/err/StmtManyValues.raz (history) added +10 -0

@@ -0,0 +1,10 @@
1+(* Nested calls of 8 arguments leave more than 1024 values waiting (MaxStack in Gen). *)
2+module StmtManyValues;
3+import Out;
4+proc f(a, b, c, d, e, f, g, h: INT): INT;
5+begin return a + h; end;
6+var x: INT;
7+begin
8+ x := f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, f(1, 2, 3, 4, 5, 6, 7, 1))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
9+ Out.int(x); Out.char('\n');
10+end StmtManyValues.

test/err/mods/DeepChain01.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain01;
2+import N := DeepChain02;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain01.

test/err/mods/DeepChain02.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain02;
2+import N := DeepChain03;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain02.

test/err/mods/DeepChain03.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain03;
2+import N := DeepChain04;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain03.

test/err/mods/DeepChain04.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain04;
2+import N := DeepChain05;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain04.

test/err/mods/DeepChain05.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain05;
2+import N := DeepChain06;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain05.

test/err/mods/DeepChain06.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain06;
2+import N := DeepChain07;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain06.

test/err/mods/DeepChain07.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain07;
2+import N := DeepChain08;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain07.

test/err/mods/DeepChain08.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain08;
2+import N := DeepChain09;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain08.

test/err/mods/DeepChain09.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain09;
2+import N := DeepChain10;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain09.

test/err/mods/DeepChain10.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain10;
2+import N := DeepChain11;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain10.

test/err/mods/DeepChain11.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain11;
2+import N := DeepChain12;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain11.

test/err/mods/DeepChain12.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain12;
2+import N := DeepChain13;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain12.

test/err/mods/DeepChain13.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain13;
2+import N := DeepChain14;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain13.

test/err/mods/DeepChain14.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain14;
2+import N := DeepChain15;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain14.

test/err/mods/DeepChain15.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain15;
2+import N := DeepChain16;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain15.

test/err/mods/DeepChain16.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain16;
2+import N := DeepChain17;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain16.

test/err/mods/DeepChain17.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain17;
2+import N := DeepChain18;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain17.

test/err/mods/DeepChain18.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain18;
2+import N := DeepChain19;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain18.

test/err/mods/DeepChain19.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain19;
2+import N := DeepChain20;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain19.

test/err/mods/DeepChain20.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain20;
2+import N := DeepChain21;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain20.

test/err/mods/DeepChain21.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain21;
2+import N := DeepChain22;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain21.

test/err/mods/DeepChain22.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain22;
2+import N := DeepChain23;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain22.

test/err/mods/DeepChain23.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain23;
2+import N := DeepChain24;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain23.

test/err/mods/DeepChain24.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain24;
2+import N := DeepChain25;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain24.

test/err/mods/DeepChain25.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain25;
2+import N := DeepChain26;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain25.

test/err/mods/DeepChain26.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain26;
2+import N := DeepChain27;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain26.

test/err/mods/DeepChain27.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain27;
2+import N := DeepChain28;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain27.

test/err/mods/DeepChain28.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain28;
2+import N := DeepChain29;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain28.

test/err/mods/DeepChain29.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain29;
2+import N := DeepChain30;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain29.

test/err/mods/DeepChain30.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain30;
2+import N := DeepChain31;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain30.

test/err/mods/DeepChain31.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain31;
2+import N := DeepChain32;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain31.

test/err/mods/DeepChain32.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain32;
2+import N := DeepChain33;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain32.

test/err/mods/DeepChain33.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain33;
2+import N := DeepChain34;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain33.

test/err/mods/DeepChain34.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain34;
2+import N := DeepChain35;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain34.

test/err/mods/DeepChain35.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain35;
2+import N := DeepChain36;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain35.

test/err/mods/DeepChain36.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain36;
2+import N := DeepChain37;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain36.

test/err/mods/DeepChain37.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain37;
2+import N := DeepChain38;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain37.

test/err/mods/DeepChain38.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain38;
2+import N := DeepChain39;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain38.

test/err/mods/DeepChain39.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain39;
2+import N := DeepChain40;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain39.

test/err/mods/DeepChain40.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain40;
2+import N := DeepChain41;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain40.

test/err/mods/DeepChain41.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain41;
2+import N := DeepChain42;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain41.

test/err/mods/DeepChain42.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain42;
2+import N := DeepChain43;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain42.

test/err/mods/DeepChain43.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain43;
2+import N := DeepChain44;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain43.

test/err/mods/DeepChain44.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain44;
2+import N := DeepChain45;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain44.

test/err/mods/DeepChain45.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain45;
2+import N := DeepChain46;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain45.

test/err/mods/DeepChain46.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain46;
2+import N := DeepChain47;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain46.

test/err/mods/DeepChain47.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain47;
2+import N := DeepChain48;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain47.

test/err/mods/DeepChain48.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain48;
2+import N := DeepChain49;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain48.

test/err/mods/DeepChain49.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain49;
2+import N := DeepChain50;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain49.

test/err/mods/DeepChain50.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain50;
2+import N := DeepChain51;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain50.

test/err/mods/DeepChain51.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain51;
2+import N := DeepChain52;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain51.

test/err/mods/DeepChain52.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain52;
2+import N := DeepChain53;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain52.

test/err/mods/DeepChain53.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain53;
2+import N := DeepChain54;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain53.

test/err/mods/DeepChain54.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain54;
2+import N := DeepChain55;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain54.

test/err/mods/DeepChain55.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain55;
2+import N := DeepChain56;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain55.

test/err/mods/DeepChain56.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain56;
2+import N := DeepChain57;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain56.

test/err/mods/DeepChain57.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain57;
2+import N := DeepChain58;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain57.

test/err/mods/DeepChain58.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain58;
2+import N := DeepChain59;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain58.

test/err/mods/DeepChain59.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain59;
2+import N := DeepChain60;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain59.

test/err/mods/DeepChain60.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain60;
2+import N := DeepChain61;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain60.

test/err/mods/DeepChain61.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain61;
2+import N := DeepChain62;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain61.

test/err/mods/DeepChain62.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain62;
2+import N := DeepChain63;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain62.

test/err/mods/DeepChain63.raz (history) added +5 -0

@@ -0,0 +1,5 @@
1+module DeepChain63;
2+import N := DeepChain64;
3+proc depth*: INT;
4+begin return N.depth() + 1; end;
5+end DeepChain63.

test/err/mods/DeepChain64.raz (history) added +4 -0

@@ -0,0 +1,4 @@
1+module DeepChain64;
2+proc depth*: INT;
3+begin return 1; end;
4+end DeepChain64.

test/err/mods/ManyArgs.raz (history) added +6 -0

@@ -0,0 +1,6 @@
1+module ManyArgs(T1, T2, T3, T4, T5, T6, T7, T8, T9);
2+var v: T1;
3+proc put*(x: T1); begin v := x; end;
4+proc get*: T1;
5+begin return v; end;
6+end ManyArgs.

test/run/StmtNestExpr.expect (history) added +2 -0

@@ -0,0 +1,2 @@
1+1
2+2

test/run/StmtNestExpr.raz (history) added +12 -0

@@ -0,0 +1,12 @@
1+(* 254 parentheses and calls nested: with the statement and the number, 256 (MaxNest). *)
2+module StmtNestExpr;
3+import Out;
4+proc id(x: INT): INT;
5+begin return x; end;
6+var x: INT;
7+begin
8+ x := ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((1))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
9+ Out.int(x); Out.char('\n');
10+ x := id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(id(2))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
11+ Out.int(x); Out.char('\n');
12+end StmtNestExpr.

test/run/StmtNestStmts.expect (history) added +1 -0

@@ -0,0 +1 @@
1+7

test/run/StmtNestStmts.raz (history) added +517 -0

@@ -0,0 +1,517 @@
1+(* 254 statements nested, and the ones in them: 256 (MaxNest). *)
2+module StmtNestStmts;
3+import Out;
4+proc p;
5+var x: INT;
6+begin
7+ if true then
8+ if true then
9+ if true then
10+ if true then
11+ if true then
12+ if true then
13+ if true then
14+ if true then
15+ if true then
16+ if true then
17+ if true then
18+ if true then
19+ if true then
20+ if true then
21+ if true then
22+ if true then
23+ if true then
24+ if true then
25+ if true then
26+ if true then
27+ if true then
28+ if true then
29+ if true then
30+ if true then
31+ if true then
32+ if true then
33+ if true then
34+ if true then
35+ if true then
36+ if true then
37+ if true then
38+ if true then
39+ if true then
40+ if true then
41+ if true then
42+ if true then
43+ if true then
44+ if true then
45+ if true then
46+ if true then
47+ if true then
48+ if true then
49+ if true then
50+ if true then
51+ if true then
52+ if true then
53+ if true then
54+ if true then
55+ if true then
56+ if true then
57+ if true then
58+ if true then
59+ if true then
60+ if true then
61+ if true then
62+ if true then
63+ if true then
64+ if true then
65+ if true then
66+ if true then
67+ if true then
68+ if true then
69+ if true then
70+ if true then
71+ if true then
72+ if true then
73+ if true then
74+ if true then
75+ if true then
76+ if true then
77+ if true then
78+ if true then
79+ if true then
80+ if true then
81+ if true then
82+ if true then
83+ if true then
84+ if true then
85+ if true then
86+ if true then
87+ if true then
88+ if true then
89+ if true then
90+ if true then
91+ if true then
92+ if true then
93+ if true then
94+ if true then
95+ if true then
96+ if true then
97+ if true then
98+ if true then
99+ if true then
100+ if true then
101+ if true then
102+ if true then
103+ if true then
104+ if true then
105+ if true then
106+ if true then
107+ if true then
108+ if true then
109+ if true then
110+ if true then
111+ if true then
112+ if true then
113+ if true then
114+ if true then
115+ if true then
116+ if true then
117+ if true then
118+ if true then
119+ if true then
120+ if true then
121+ if true then
122+ if true then
123+ if true then
124+ if true then
125+ if true then
126+ if true then
127+ if true then
128+ if true then
129+ if true then
130+ if true then
131+ if true then
132+ if true then
133+ if true then
134+ if true then
135+ if true then
136+ if true then
137+ if true then
138+ if true then
139+ if true then
140+ if true then
141+ if true then
142+ if true then
143+ if true then
144+ if true then
145+ if true then
146+ if true then
147+ if true then
148+ if true then
149+ if true then
150+ if true then
151+ if true then
152+ if true then
153+ if true then
154+ if true then
155+ if true then
156+ if true then
157+ if true then
158+ if true then
159+ if true then
160+ if true then
161+ if true then
162+ if true then
163+ if true then
164+ if true then
165+ if true then
166+ if true then
167+ if true then
168+ if true then
169+ if true then
170+ if true then
171+ if true then
172+ if true then
173+ if true then
174+ if true then
175+ if true then
176+ if true then
177+ if true then
178+ if true then
179+ if true then
180+ if true then
181+ if true then
182+ if true then
183+ if true then
184+ if true then
185+ if true then
186+ if true then
187+ if true then
188+ if true then
189+ if true then
190+ if true then
191+ if true then
192+ if true then
193+ if true then
194+ if true then
195+ if true then
196+ if true then
197+ if true then
198+ if true then
199+ if true then
200+ if true then
201+ if true then
202+ if true then
203+ if true then
204+ if true then
205+ if true then
206+ if true then
207+ if true then
208+ if true then
209+ if true then
210+ if true then
211+ if true then
212+ if true then
213+ if true then
214+ if true then
215+ if true then
216+ if true then
217+ if true then
218+ if true then
219+ if true then
220+ if true then
221+ if true then
222+ if true then
223+ if true then
224+ if true then
225+ if true then
226+ if true then
227+ if true then
228+ if true then
229+ if true then
230+ if true then
231+ if true then
232+ if true then
233+ if true then
234+ if true then
235+ if true then
236+ if true then
237+ if true then
238+ if true then
239+ if true then
240+ if true then
241+ if true then
242+ if true then
243+ if true then
244+ if true then
245+ if true then
246+ if true then
247+ if true then
248+ if true then
249+ if true then
250+ if true then
251+ if true then
252+ if true then
253+ if true then
254+ if true then
255+ if true then
256+ if true then
257+ if true then
258+ if true then
259+ if true then
260+ if true then
261+ x := 7; Out.int(x); Out.char('\n');
262+ end;
263+ end;
264+ end;
265+ end;
266+ end;
267+ end;
268+ end;
269+ end;
270+ end;
271+ end;
272+ end;
273+ end;
274+ end;
275+ end;
276+ end;
277+ end;
278+ end;
279+ end;
280+ end;
281+ end;
282+ end;
283+ end;
284+ end;
285+ end;
286+ end;
287+ end;
288+ end;
289+ end;
290+ end;
291+ end;
292+ end;
293+ end;
294+ end;
295+ end;
296+ end;
297+ end;
298+ end;
299+ end;
300+ end;
301+ end;
302+ end;
303+ end;
304+ end;
305+ end;
306+ end;
307+ end;
308+ end;
309+ end;
310+ end;
311+ end;
312+ end;
313+ end;
314+ end;
315+ end;
316+ end;
317+ end;
318+ end;
319+ end;
320+ end;
321+ end;
322+ end;
323+ end;
324+ end;
325+ end;
326+ end;
327+ end;
328+ end;
329+ end;
330+ end;
331+ end;
332+ end;
333+ end;
334+ end;
335+ end;
336+ end;
337+ end;
338+ end;
339+ end;
340+ end;
341+ end;
342+ end;
343+ end;
344+ end;
345+ end;
346+ end;
347+ end;
348+ end;
349+ end;
350+ end;
351+ end;
352+ end;
353+ end;
354+ end;
355+ end;
356+ end;
357+ end;
358+ end;
359+ end;
360+ end;
361+ end;
362+ end;
363+ end;
364+ end;
365+ end;
366+ end;
367+ end;
368+ end;
369+ end;
370+ end;
371+ end;
372+ end;
373+ end;
374+ end;
375+ end;
376+ end;
377+ end;
378+ end;
379+ end;
380+ end;
381+ end;
382+ end;
383+ end;
384+ end;
385+ end;
386+ end;
387+ end;
388+ end;
389+ end;
390+ end;
391+ end;
392+ end;
393+ end;
394+ end;
395+ end;
396+ end;
397+ end;
398+ end;
399+ end;
400+ end;
401+ end;
402+ end;
403+ end;
404+ end;
405+ end;
406+ end;
407+ end;
408+ end;
409+ end;
410+ end;
411+ end;
412+ end;
413+ end;
414+ end;
415+ end;
416+ end;
417+ end;
418+ end;
419+ end;
420+ end;
421+ end;
422+ end;
423+ end;
424+ end;
425+ end;
426+ end;
427+ end;
428+ end;
429+ end;
430+ end;
431+ end;
432+ end;
433+ end;
434+ end;
435+ end;
436+ end;
437+ end;
438+ end;
439+ end;
440+ end;
441+ end;
442+ end;
443+ end;
444+ end;
445+ end;
446+ end;
447+ end;
448+ end;
449+ end;
450+ end;
451+ end;
452+ end;
453+ end;
454+ end;
455+ end;
456+ end;
457+ end;
458+ end;
459+ end;
460+ end;
461+ end;
462+ end;
463+ end;
464+ end;
465+ end;
466+ end;
467+ end;
468+ end;
469+ end;
470+ end;
471+ end;
472+ end;
473+ end;
474+ end;
475+ end;
476+ end;
477+ end;
478+ end;
479+ end;
480+ end;
481+ end;
482+ end;
483+ end;
484+ end;
485+ end;
486+ end;
487+ end;
488+ end;
489+ end;
490+ end;
491+ end;
492+ end;
493+ end;
494+ end;
495+ end;
496+ end;
497+ end;
498+ end;
499+ end;
500+ end;
501+ end;
502+ end;
503+ end;
504+ end;
505+ end;
506+ end;
507+ end;
508+ end;
509+ end;
510+ end;
511+ end;
512+ end;
513+ end;
514+ end;
515+ end;
516+ end;
517+begin p; end StmtNestStmts.