diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-05-02 15:43:03 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-05-02 15:43:03 -0300 |
| commit | 18ea2eff80c720632cb6a89d560c5cce2377df06 (patch) | |
| tree | 67fc3acd282d134099b2f92657e191baeaff1277 /inout.h | |
| parent | 8156604823aa487f4436d33fe89302598faab3db (diff) | |
| download | lua-18ea2eff80c720632cb6a89d560c5cce2377df06.tar.gz lua-18ea2eff80c720632cb6a89d560c5cce2377df06.tar.bz2 lua-18ea2eff80c720632cb6a89d560c5cce2377df06.zip | |
calls to "lua_reportbug" changed to "lua_error", since
"lua_reportbug" is only an internal function to build debug information
Diffstat (limited to 'inout.h')
| -rw-r--r-- | inout.h | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: inout.h,v 1.6 1994/11/21 21:41:09 roberto Stab roberto $ | 2 | ** $Id: inout.h,v 1.7 1994/12/20 21:20:36 roberto Exp roberto $ |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | 5 | ||
| @@ -8,6 +8,10 @@ | |||
| 8 | 8 | ||
| 9 | #include "types.h" | 9 | #include "types.h" |
| 10 | 10 | ||
| 11 | #ifndef MAXFUNCSTACK | ||
| 12 | #define MAXFUNCSTACK 100 | ||
| 13 | #endif | ||
| 14 | |||
| 11 | extern Word lua_linenumber; | 15 | extern Word lua_linenumber; |
| 12 | extern Bool lua_debug; | 16 | extern Bool lua_debug; |
| 13 | extern Word lua_debugline; | 17 | extern Word lua_debugline; |
| @@ -18,7 +22,7 @@ char *lua_openstring (char *s); | |||
| 18 | void lua_closestring (void); | 22 | void lua_closestring (void); |
| 19 | void lua_pushfunction (char *file, Word function); | 23 | void lua_pushfunction (char *file, Word function); |
| 20 | void lua_popfunction (void); | 24 | void lua_popfunction (void); |
| 21 | void lua_reportbug (char *s); | 25 | void luaI_reportbug (char *s, int size); |
| 22 | 26 | ||
| 23 | void lua_internaldofile (void); | 27 | void lua_internaldofile (void); |
| 24 | void lua_internaldostring (void); | 28 | void lua_internaldostring (void); |
