diff options
| author | johndoe123 | 2013-04-18 19:08:22 +0200 |
|---|---|---|
| committer | johndoe123 | 2013-04-18 19:08:22 +0200 |
| commit | 176a3babc553d1d6eb2a57fddb0a9665fc4aaa71 (patch) | |
| tree | 239f044793de424c8ca50e739beab44b122609c6 /engines/sword25 | |
| parent | e935f85366ba1e83fdd1cea3712959edee1f6270 (diff) | |
| parent | 6c55213cd5a63ff198a25573ad38672e7faa02ce (diff) | |
| download | scummvm-rg350-176a3babc553d1d6eb2a57fddb0a9665fc4aaa71.tar.gz scummvm-rg350-176a3babc553d1d6eb2a57fddb0a9665fc4aaa71.tar.bz2 scummvm-rg350-176a3babc553d1d6eb2a57fddb0a9665fc4aaa71.zip | |
Merge branch 'master' of github.com:scummvm/scummvm into sword25-gfx
Diffstat (limited to 'engines/sword25')
| -rw-r--r-- | engines/sword25/util/lua/ldo.cpp | 10 | ||||
| -rw-r--r-- | engines/sword25/util/lua/lua.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/engines/sword25/util/lua/ldo.cpp b/engines/sword25/util/lua/ldo.cpp index c162a62e98..a230097f2a 100644 --- a/engines/sword25/util/lua/ldo.cpp +++ b/engines/sword25/util/lua/ldo.cpp @@ -98,6 +98,16 @@ static void resetstack (lua_State *L, int status) { } +// Added in ScummVM. Refer to http://www.lua.org/manual/5.1/manual.html +static const char* luaErrorDescription[] = { + "No error", + "Coroutine yield", // not an actual error, see lua_resume + "Runtime error", + "Syntax error during pre-compilation", // refer to lua_load + "Memory allocation error", + "Error while running the error handler function" +}; + void luaD_throw (lua_State *L, int errcode) { if (L->errorJmp) { L->errorJmp->status = errcode; diff --git a/engines/sword25/util/lua/lua.h b/engines/sword25/util/lua/lua.h index 768ec1ad74..a3b7573ca5 100644 --- a/engines/sword25/util/lua/lua.h +++ b/engines/sword25/util/lua/lua.h @@ -48,16 +48,6 @@ #define LUA_ERRMEM 4 #define LUA_ERRERR 5 -// Added in ScummVM. Refer to http://www.lua.org/manual/5.1/manual.html -static const char* luaErrorDescription[] = { - "No error", - "Coroutine yield", // not an actual error, see lua_resume - "Runtime error", - "Syntax error during pre-compilation", // refer to lua_load - "Memory allocation error", - "Error while running the error handler function" -}; - typedef struct lua_State lua_State; typedef int (*lua_CFunction) (lua_State *L); |
