Skip to content
Snippets Groups Projects
Commit b6e1cd64 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

more information on stack overflow

Rev: src/interpret.h:1.33
parent 1e50b825
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\*/ \*/
/* /*
* $Id: interpret.h,v 1.32 1999/06/01 10:21:10 mirar Exp $ * $Id: interpret.h,v 1.33 1999/07/29 17:10:23 mirar Exp $
*/ */
#ifndef INTERPRET_H #ifndef INTERPRET_H
#define INTERPRET_H #define INTERPRET_H
...@@ -45,7 +45,9 @@ struct pike_frame ...@@ -45,7 +45,9 @@ struct pike_frame
#define check_stack(X) do { \ #define check_stack(X) do { \
if(sp - evaluator_stack + (X) >= stack_size) \ if(sp - evaluator_stack + (X) >= stack_size) \
error("Stack overflow.\n"); \ error("Svalue stack overflow. " \
"(%d of %d entries on stack, needed %d more entries)\n", \
sp-evaluator_stack,stack_size,(X)); \
}while(0) }while(0)
#define check_mark_stack(X) do { \ #define check_mark_stack(X) do { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment