mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
DIRECTOR: LINGO: Improve debug output
This commit is contained in:
parent
0f1128b943
commit
c489e87bf3
@ -216,7 +216,7 @@ Symbol *Lingo::define(Common::String &name, int start, int nargs, Common::String
|
||||
if (prefix)
|
||||
name = *prefix + "-" + name;
|
||||
|
||||
debugC(1, kDebugLingoCompile, "define(\"%s\", %d, %d, %d)", name.c_str(), start, _currentScript->size() - 1, nargs);
|
||||
debugC(1, kDebugLingoCompile, "define(\"%s\"(len: %d), %d, %d, \"%s\", %d)", name.c_str(), _currentScript->size() - 1, start, nargs, (prefix ? prefix->c_str() : ""), end);
|
||||
|
||||
Symbol *sym = getHandler(name);
|
||||
if (sym == NULL) { // Create variable if it was not defined
|
||||
|
Loading…
Reference in New Issue
Block a user