blob: 752c9cb0830d88627715f05735cd96ec491e6fd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
export macro todoInner = (module, line, msg)->
print "TODO#{msg and ': ' .. msg or ''} in file #{module}, at line #{line}"
{
code: "-- TODO#{msg and ': ' .. msg or ''}"
type: "lua"
}
export macro todo = (msg)->
if msg
"$todoInner $FILE, $LINE, #{msg}"
else
"$todoInner $FILE, $LINE"
|