diff options
author | David Walter Seikel | 2014-04-21 20:59:39 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-21 20:59:39 +1000 |
commit | 9621add2918cc4943e6693b74ae85d51dd264fcf (patch) | |
tree | fff1edf2c69d7a08a0e12885eecc9b96ed847a6a /LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_11.lua | |
parent | LuaSL_test's window doesn't need to be so huge. (diff) | |
download | SledjHamr-9621add2918cc4943e6693b74ae85d51dd264fcf.zip SledjHamr-9621add2918cc4943e6693b74ae85d51dd264fcf.tar.gz SledjHamr-9621add2918cc4943e6693b74ae85d51dd264fcf.tar.bz2 SledjHamr-9621add2918cc4943e6693b74ae85d51dd264fcf.tar.xz |
We don't need the testlua directory any more.
Diffstat (limited to 'LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_11.lua')
-rw-r--r-- | LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_11.lua | 192 |
1 files changed, 0 insertions, 192 deletions
diff --git a/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_11.lua b/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_11.lua deleted file mode 100644 index 461ea82..0000000 --- a/LuaSL/testLua/yueliang-0.4.1/nat-5.1.3/test/parser_log/sample_11.lua +++ /dev/null | |||
@@ -1,192 +0,0 @@ | |||
1 | -- START OF SOURCE -- | ||
2 | for i=1,10 do foo=i end | ||
3 | for i=1,10,2 do break end | ||
4 | for i in foo do bar=0 end | ||
5 | for i,j in foo,bar do baz=0 end | ||
6 | -- END OF SOURCE -- | ||
7 | |||
8 | -- TOP: begin | ||
9 | open_func | ||
10 | |||
11 | chunk: | ||
12 | -- STATEMENT: begin 'for' line=1 | ||
13 | for_stat: begin | ||
14 | enterblock(isbreakable=true) | ||
15 | str_checkname: 'i' | ||
16 | for_stat: numerical loop | ||
17 | new_localvar: '(for index)' | ||
18 | new_localvar: '(for limit)' | ||
19 | new_localvar: '(for step)' | ||
20 | new_localvar: 'i' | ||
21 | fornum: begin | ||
22 | fornum: index start | ||
23 | exp1: begin | ||
24 | expr: | ||
25 | simpleexp: <number>=1 | ||
26 | exp1: end | ||
27 | fornum: index stop | ||
28 | exp1: begin | ||
29 | expr: | ||
30 | simpleexp: <number>=10 | ||
31 | exp1: end | ||
32 | fornum: body | ||
33 | enterblock(isbreakable=false) | ||
34 | block: begin | ||
35 | enterblock(isbreakable=false) | ||
36 | chunk: | ||
37 | -- STATEMENT: begin 'expr' line=1 | ||
38 | prefixexp: <name> | ||
39 | str_checkname: 'foo' | ||
40 | singlevar(kind): 'VGLOBAL' | ||
41 | expr_stat: assignment k='VGLOBAL' | ||
42 | assignment: '=' -- RHS elements follows | ||
43 | explist1: begin | ||
44 | expr: | ||
45 | prefixexp: <name> | ||
46 | str_checkname: 'i' | ||
47 | singlevar(kind): 'VLOCAL' | ||
48 | explist1: end | ||
49 | -- STATEMENT: end 'expr' | ||
50 | |||
51 | leaveblock | ||
52 | block: end | ||
53 | leaveblock | ||
54 | fornum: end | ||
55 | leaveblock | ||
56 | for_stat: end | ||
57 | -- STATEMENT: end 'for' | ||
58 | |||
59 | -- STATEMENT: begin 'for' line=2 | ||
60 | for_stat: begin | ||
61 | enterblock(isbreakable=true) | ||
62 | str_checkname: 'i' | ||
63 | for_stat: numerical loop | ||
64 | new_localvar: '(for index)' | ||
65 | new_localvar: '(for limit)' | ||
66 | new_localvar: '(for step)' | ||
67 | new_localvar: 'i' | ||
68 | fornum: begin | ||
69 | fornum: index start | ||
70 | exp1: begin | ||
71 | expr: | ||
72 | simpleexp: <number>=1 | ||
73 | exp1: end | ||
74 | fornum: index stop | ||
75 | exp1: begin | ||
76 | expr: | ||
77 | simpleexp: <number>=10 | ||
78 | exp1: end | ||
79 | fornum: index step | ||
80 | exp1: begin | ||
81 | expr: | ||
82 | simpleexp: <number>=2 | ||
83 | exp1: end | ||
84 | fornum: body | ||
85 | enterblock(isbreakable=false) | ||
86 | block: begin | ||
87 | enterblock(isbreakable=false) | ||
88 | chunk: | ||
89 | -- STATEMENT: begin 'break' line=2 | ||
90 | break_stat: -- break out of loop | ||
91 | -- STATEMENT: end 'break' | ||
92 | leaveblock | ||
93 | block: end | ||
94 | leaveblock | ||
95 | fornum: end | ||
96 | leaveblock | ||
97 | for_stat: end | ||
98 | -- STATEMENT: end 'for' | ||
99 | |||
100 | -- STATEMENT: begin 'for' line=3 | ||
101 | for_stat: begin | ||
102 | enterblock(isbreakable=true) | ||
103 | str_checkname: 'i' | ||
104 | for_stat: list-based loop | ||
105 | forlist: begin | ||
106 | new_localvar: '(for generator)' | ||
107 | new_localvar: '(for state)' | ||
108 | new_localvar: '(for control)' | ||
109 | new_localvar: 'i' | ||
110 | forlist: explist1 | ||
111 | explist1: begin | ||
112 | expr: | ||
113 | prefixexp: <name> | ||
114 | str_checkname: 'foo' | ||
115 | singlevar(kind): 'VGLOBAL' | ||
116 | explist1: end | ||
117 | forlist: body | ||
118 | enterblock(isbreakable=false) | ||
119 | block: begin | ||
120 | enterblock(isbreakable=false) | ||
121 | chunk: | ||
122 | -- STATEMENT: begin 'expr' line=3 | ||
123 | prefixexp: <name> | ||
124 | str_checkname: 'bar' | ||
125 | singlevar(kind): 'VGLOBAL' | ||
126 | expr_stat: assignment k='VGLOBAL' | ||
127 | assignment: '=' -- RHS elements follows | ||
128 | explist1: begin | ||
129 | expr: | ||
130 | simpleexp: <number>=0 | ||
131 | explist1: end | ||
132 | -- STATEMENT: end 'expr' | ||
133 | |||
134 | leaveblock | ||
135 | block: end | ||
136 | leaveblock | ||
137 | forlist: end | ||
138 | leaveblock | ||
139 | for_stat: end | ||
140 | -- STATEMENT: end 'for' | ||
141 | |||
142 | -- STATEMENT: begin 'for' line=4 | ||
143 | for_stat: begin | ||
144 | enterblock(isbreakable=true) | ||
145 | str_checkname: 'i' | ||
146 | for_stat: list-based loop | ||
147 | forlist: begin | ||
148 | new_localvar: '(for generator)' | ||
149 | new_localvar: '(for state)' | ||
150 | new_localvar: '(for control)' | ||
151 | new_localvar: 'i' | ||
152 | str_checkname: 'j' | ||
153 | new_localvar: 'j' | ||
154 | forlist: explist1 | ||
155 | explist1: begin | ||
156 | expr: | ||
157 | prefixexp: <name> | ||
158 | str_checkname: 'foo' | ||
159 | singlevar(kind): 'VGLOBAL' | ||
160 | explist1: ',' -- continuation | ||
161 | expr: | ||
162 | prefixexp: <name> | ||
163 | str_checkname: 'bar' | ||
164 | singlevar(kind): 'VGLOBAL' | ||
165 | explist1: end | ||
166 | forlist: body | ||
167 | enterblock(isbreakable=false) | ||
168 | block: begin | ||
169 | enterblock(isbreakable=false) | ||
170 | chunk: | ||
171 | -- STATEMENT: begin 'expr' line=4 | ||
172 | prefixexp: <name> | ||
173 | str_checkname: 'baz' | ||
174 | singlevar(kind): 'VGLOBAL' | ||
175 | expr_stat: assignment k='VGLOBAL' | ||
176 | assignment: '=' -- RHS elements follows | ||
177 | explist1: begin | ||
178 | expr: | ||
179 | simpleexp: <number>=0 | ||
180 | explist1: end | ||
181 | -- STATEMENT: end 'expr' | ||
182 | |||
183 | leaveblock | ||
184 | block: end | ||
185 | leaveblock | ||
186 | forlist: end | ||
187 | leaveblock | ||
188 | for_stat: end | ||
189 | -- STATEMENT: end 'for' | ||
190 | |||
191 | close_func | ||
192 | -- TOP: end | ||