mirror of
https://github.com/leafo/moonscript.git
synced 2025-01-09 00:04:22 +00:00
don't let debug mode break parser
This commit is contained in:
parent
8cf92a3591
commit
6c0ec441d5
@ -89,10 +89,10 @@ local function wrap_env(fn)
|
|||||||
iprint("* " .. name)
|
iprint("* " .. name)
|
||||||
indent = indent + 1
|
indent = indent + 1
|
||||||
return true
|
return true
|
||||||
end) * Cmt(v, function()
|
end) * Cmt(v, function(str, pos, ...)
|
||||||
iprint(name, true)
|
iprint(name, true)
|
||||||
indent = indent - 1
|
indent = indent - 1
|
||||||
return true
|
return true, ...
|
||||||
end) + Cmt("", function()
|
end) + Cmt("", function()
|
||||||
iprint(name, false)
|
iprint(name, false)
|
||||||
indent = indent - 1
|
indent = indent - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user