summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/ejs/ejsInternal.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-20 05:13:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:46 -0500
commit6f48b3a5cbe0235e60834f0b96a34290797d3bf4 (patch)
treef4bc4e44e3f312bd15f2a0450ab582c551cc8498 /source4/lib/appweb/ejs/ejsInternal.h
parente9c925f8727a8fa01935129ba8209183d111bd86 (diff)
downloadsamba-6f48b3a5cbe0235e60834f0b96a34290797d3bf4.tar.gz
samba-6f48b3a5cbe0235e60834f0b96a34290797d3bf4.tar.bz2
samba-6f48b3a5cbe0235e60834f0b96a34290797d3bf4.zip
r8630: give a much nicer backtrace on assert() failures in ejs
I will submit this upstream (This used to be commit a2266f6927d953459bd4b02fbca0a9c95c18494e)
Diffstat (limited to 'source4/lib/appweb/ejs/ejsInternal.h')
-rw-r--r--source4/lib/appweb/ejs/ejsInternal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/appweb/ejs/ejsInternal.h b/source4/lib/appweb/ejs/ejsInternal.h
index 3bf99d88b9..8b66dafdca 100644
--- a/source4/lib/appweb/ejs/ejsInternal.h
+++ b/source4/lib/appweb/ejs/ejsInternal.h
@@ -192,6 +192,8 @@ typedef struct ejEval {
char *tokEndp; /* Pointer past end of token */
char *tokServp; /* Pointer to next token char */
int tokSize; /* Size of token buffer */
+ struct ejEval *next; /* used for backtraces */
+ const char *procName; /* gives name in backtrace */
} EjsInput;
/*