Branch: Tag:

2001-08-15

2001-08-15 22:59:12 by Martin Stjernholm <mast@lysator.liu.se>

Added an _sprintf in the generic error object. Added a compilation error
object.

Rev: src/errors.h:1.17

74:    ERR_FUNC("`[]",f_error_index,tFunc(tString,tMixed),0)    ERR_FUNC("describe",f_error_describe,tFunc(tVoid,tString),0)    ERR_FUNC("backtrace",f_error_backtrace,tFunc(tVoid,tArr(tMixed)),0) +  ERR_FUNC("_sprintf",f_error__sprintf,tFunc(tNone,tString),0)   )      #define GENERIC_ERROR_THIS ((struct generic_error_struct *)CURRENT_STORAGE)
109:      DECLARE_ERROR(cpp, ERR_INHERIT(generic), EMPTY)    + DECLARE_ERROR(compilation, ERR_INHERIT(generic), EMPTY) +    #undef DECLARE_ERROR   #undef ERR_INHERIT   #undef ERR_VAR