diff options
author | Eugene Sandulenko | 2017-01-09 09:24:18 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-09 09:24:18 +0100 |
commit | c18a3e28e2c1764b08088a0a1a7f5ec54a2db23a (patch) | |
tree | 62f337f92f5d94c3ebda2593b457e9e7a54f587b /engines | |
parent | eab2e06169d2d6447f24f04ef04f1adc342c8aac (diff) | |
download | scummvm-rg350-c18a3e28e2c1764b08088a0a1a7f5ec54a2db23a.tar.gz scummvm-rg350-c18a3e28e2c1764b08088a0a1a7f5ec54a2db23a.tar.bz2 scummvm-rg350-c18a3e28e2c1764b08088a0a1a7f5ec54a2db23a.zip |
DIRECTOR: Lingo: Debug Lingo parsing only with debugchannel explicitely set
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/lingo/lingo-lex.cpp | 2 | ||||
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-lex.cpp b/engines/director/lingo/lingo-lex.cpp index 5197d002dd..77ca20a1db 100644 --- a/engines/director/lingo/lingo-lex.cpp +++ b/engines/director/lingo/lingo-lex.cpp @@ -2391,7 +2391,7 @@ namespace Director { int Lingo::parse(const char *code) { YY_BUFFER_STATE bp; - if (debugChannelSet(10, kDebugLingoCompile)) + if (debugChannelSet(-1, kDebugLingoCompile)) yydebug = 1; else yydebug = 0; diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index 882e06d0f8..294cc66e82 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -231,7 +231,7 @@ namespace Director { int Lingo::parse(const char *code) { YY_BUFFER_STATE bp; - if (debugChannelSet(10, kDebugLingoCompile)) + if (debugChannelSet(-1, kDebugLingoCompile)) yydebug = 1; else yydebug = 0; |