Fix some bugs with the reader
This commit is contained in:
@ -491,6 +491,13 @@ void cancel_cleanup(void *handle);
|
||||
cancel_cleanup(__with_cleanup_cleanup); \
|
||||
refcount_unref(var); \
|
||||
}
|
||||
#define WITH_CLEANUP_IF_THROW(var, body) \
|
||||
{ \
|
||||
void *__with_cleanup_cleanup = \
|
||||
register_cleanup(&refcount_unref_as_callback, (var)); \
|
||||
{body}; \
|
||||
cancel_cleanup(__with_cleanup_cleanup); \
|
||||
}
|
||||
|
||||
DECLARE_FUNCTION(backtrace, (void) );
|
||||
noreturn DECLARE_FUNCTION(return_from, (LispVal * name, LispVal *value));
|
||||
@ -502,6 +509,7 @@ extern LispVal *Qshutdown_signal;
|
||||
extern LispVal *Qtype_error;
|
||||
extern LispVal *Qread_error;
|
||||
extern LispVal *Qeof_error;
|
||||
extern LispVal *Qunclosed_error;
|
||||
extern LispVal *Qvoid_variable_error;
|
||||
extern LispVal *Qvoid_function_error;
|
||||
extern LispVal *Qcircular_error;
|
||||
|
Reference in New Issue
Block a user