diff options
author | Nipun Garg | 2019-06-06 20:17:54 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:43 +0200 |
commit | 341759cf0ddea26666bbdcdfd719bd830d51600a (patch) | |
tree | 7c5bbfd79510a0cfff8e4b70451f3736f8c1d2de /engines/hdb/lua-script.h | |
parent | 95234eef3b1957c3d932a0939f60bff6436d3392 (diff) | |
download | scummvm-rg350-341759cf0ddea26666bbdcdfd719bd830d51600a.tar.gz scummvm-rg350-341759cf0ddea26666bbdcdfd719bd830d51600a.tar.bz2 scummvm-rg350-341759cf0ddea26666bbdcdfd719bd830d51600a.zip |
HDB: Add ScriptPatches for upvalues and setglobal
Moved the upvalue-syntax modification from
sanitizeComments to the scriptPatches
Diffstat (limited to 'engines/hdb/lua-script.h')
-rw-r--r-- | engines/hdb/lua-script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.h b/engines/hdb/lua-script.h index fae9502f20..2a8686f96c 100644 --- a/engines/hdb/lua-script.h +++ b/engines/hdb/lua-script.h @@ -52,7 +52,7 @@ private: bool registerExtensions(); bool executeChunk(Common::String &chunk, uint chunkSize, const Common::String &chunkName) const; - void sanitizeScript(char *chunk); + void stripComments(char *chunk); void addPatches(Common::String &chunk, const char *scriptName); }; |