mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
delete dead function
This commit is contained in:
parent
cae4d4ae7a
commit
9d6467977a
@ -8,33 +8,6 @@ do
|
||||
ntype = _table_0.ntype
|
||||
end
|
||||
local concat, insert = table.concat, table.insert
|
||||
local table_append
|
||||
table_append = function(name, len, value)
|
||||
return {
|
||||
{
|
||||
"update",
|
||||
len,
|
||||
"+=",
|
||||
1
|
||||
},
|
||||
{
|
||||
"assign",
|
||||
{
|
||||
{
|
||||
"chain",
|
||||
name,
|
||||
{
|
||||
"index",
|
||||
len
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
value_compile = {
|
||||
exp = function(self, node)
|
||||
local _comp
|
||||
|
@ -11,13 +11,6 @@ import concat, insert from table
|
||||
|
||||
export value_compile
|
||||
|
||||
table_append = (name, len, value) ->
|
||||
{
|
||||
{"update", len, "+=", 1}
|
||||
{"assign", {
|
||||
{"chain", name, {"index", len}} }, { value }}
|
||||
}
|
||||
|
||||
value_compile =
|
||||
-- list of values separated by binary operators
|
||||
exp: (node) =>
|
||||
|
Loading…
Reference in New Issue
Block a user