Add C++ traceback to errors

This commit is contained in:
Eduardo Bart
2013-03-12 01:33:45 -03:00
parent 24664714bd
commit 0891e2b30a
5 changed files with 48 additions and 5 deletions

View File

@@ -285,6 +285,7 @@ function addLine(text, color)
flushEvent = scheduleEvent(flushLines, 10)
end
text = string.gsub(text, '\t', ' ')
table.insert(cachedLines, {text=text, color=color})
end