diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-08-21 14:43:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-08-21 14:43:44 -0300 |
commit | cc117253c83ec32d226a8f2226d5ca144804f873 (patch) | |
tree | 46551b01d3febf98d65d55276d5831a75e2e0062 /lstate.h | |
parent | 8e226e6a09390a80fde98f192833fc85a5537376 (diff) | |
download | lua-cc117253c83ec32d226a8f2226d5ca144804f873.tar.gz lua-cc117253c83ec32d226a8f2226d5ca144804f873.tar.bz2 lua-cc117253c83ec32d226a8f2226d5ca144804f873.zip |
new implementation for error handling: on error, function _ERRORMESSAGE
is called, which in turn calls _ALERT to write a message to stderr.
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.10 1998/06/19 16:14:09 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.11 1998/06/24 13:33:00 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -61,7 +61,6 @@ struct lua_State { | |||
61 | struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; | 61 | struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; |
62 | int numCblocks; /* number of nested Cblocks */ | 62 | int numCblocks; /* number of nested Cblocks */ |
63 | /* global state */ | 63 | /* global state */ |
64 | TObject errorim; /* error tag method */ | ||
65 | GCnode rootproto; /* list of all prototypes */ | 64 | GCnode rootproto; /* list of all prototypes */ |
66 | GCnode rootcl; /* list of all closures */ | 65 | GCnode rootcl; /* list of all closures */ |
67 | GCnode roottable; /* list of all tables */ | 66 | GCnode roottable; /* list of all tables */ |