Exceptions/Catch an exception thrown in a nested call: Difference between revisions

Content added Content deleted
m (→‎{{header|C}}: debug leftover)
m (→‎{{header|C}}: bug fix...)
Line 183: Line 183:
for (; exc_string; exc_string = 0)
for (; exc_string; exc_string = 0)


ucontext_t *exc;
ucontext_t *exc = 0;
int exc_depth = 0;
int exc_depth = 0;
int exc_alloc = 0;
int exc_alloc = 0;
char * exc_string;
char * exc_string = 0;


void throw(char *str)
void throw(char *str)