aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_09.lua
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_09.lua')
-rw-r--r--LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_09.lua103
1 files changed, 0 insertions, 103 deletions
diff --git a/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_09.lua b/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_09.lua
deleted file mode 100644
index 67c6cf3..0000000
--- a/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_09.lua
+++ /dev/null
@@ -1,103 +0,0 @@
1-- START OF SOURCE --
2while true do foo=not foo end
3while foo~=42 do foo=foo-1 end
4while true do break end
5-- END OF SOURCE --
6
7-- TOP: begin
8 open_func
9
10 chunk:
11 -- STATEMENT: begin 'while' line=1
12 while_stat: begin/condition
13 cond: begin
14 expr:
15 simpleexp: true
16 cond: end
17 enterblock(isbreakable=true)
18 while_stat: block
19 block: begin
20 enterblock(isbreakable=false)
21 chunk:
22 -- STATEMENT: begin 'expr' line=1
23 prefixexp: <name>
24 str_checkname: 'foo'
25 singlevar(kind): 'VGLOBAL'
26 expr_stat: assignment k='VGLOBAL'
27 assignment: '=' -- RHS elements follows
28 explist1: begin
29 expr:
30 subexpr: uop='not'
31 prefixexp: <name>
32 str_checkname: 'foo'
33 singlevar(kind): 'VGLOBAL'
34 explist1: end
35 -- STATEMENT: end 'expr'
36
37 leaveblock
38 block: end
39 leaveblock
40 while_stat: end
41 -- STATEMENT: end 'while'
42
43 -- STATEMENT: begin 'while' line=2
44 while_stat: begin/condition
45 cond: begin
46 expr:
47 prefixexp: <name>
48 str_checkname: 'foo'
49 singlevar(kind): 'VGLOBAL'
50 subexpr: binop='~='
51 simpleexp: <number>=42
52 subexpr: -- evaluate
53 cond: end
54 enterblock(isbreakable=true)
55 while_stat: block
56 block: begin
57 enterblock(isbreakable=false)
58 chunk:
59 -- STATEMENT: begin 'expr' line=2
60 prefixexp: <name>
61 str_checkname: 'foo'
62 singlevar(kind): 'VGLOBAL'
63 expr_stat: assignment k='VGLOBAL'
64 assignment: '=' -- RHS elements follows
65 explist1: begin
66 expr:
67 prefixexp: <name>
68 str_checkname: 'foo'
69 singlevar(kind): 'VGLOBAL'
70 subexpr: binop='-'
71 simpleexp: <number>=1
72 subexpr: -- evaluate
73 explist1: end
74 -- STATEMENT: end 'expr'
75
76 leaveblock
77 block: end
78 leaveblock
79 while_stat: end
80 -- STATEMENT: end 'while'
81
82 -- STATEMENT: begin 'while' line=3
83 while_stat: begin/condition
84 cond: begin
85 expr:
86 simpleexp: true
87 cond: end
88 enterblock(isbreakable=true)
89 while_stat: block
90 block: begin
91 enterblock(isbreakable=false)
92 chunk:
93 -- STATEMENT: begin 'break' line=3
94 break_stat: -- break out of loop
95 -- STATEMENT: end 'break'
96 leaveblock
97 block: end
98 leaveblock
99 while_stat: end
100 -- STATEMENT: end 'while'
101
102 close_func
103-- TOP: end