Skip to content

Commit 9d64679

Browse files
committed
delete dead function
1 parent cae4d4a commit 9d64679

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

moonscript/compile/value.lua

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,6 @@ do
88
ntype = _table_0.ntype
99
end
1010
local concat, insert = table.concat, table.insert
11-
local table_append
12-
table_append = function(name, len, value)
13-
return {
14-
{
15-
"update",
16-
len,
17-
"+=",
18-
1
19-
},
20-
{
21-
"assign",
22-
{
23-
{
24-
"chain",
25-
name,
26-
{
27-
"index",
28-
len
29-
}
30-
}
31-
},
32-
{
33-
value
34-
}
35-
}
36-
}
37-
end
3811
value_compile = {
3912
exp = function(self, node)
4013
local _comp

moonscript/compile/value.moon

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ import concat, insert from table
1111

1212
export value_compile
1313

14-
table_append = (name, len, value) ->
15-
{
16-
{"update", len, "+=", 1}
17-
{"assign", {
18-
{"chain", name, {"index", len}} }, { value }}
19-
}
20-
2114
value_compile =
2215
-- list of values separated by binary operators
2316
exp: (node) =>

0 commit comments

Comments
 (0)