summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlloydh <lloydh@e775cfb5-b74b-0410-aad5-5bebe4a96390>2008-01-14 18:02:48 +0000
committerlloydh <lloydh@e775cfb5-b74b-0410-aad5-5bebe4a96390>2008-01-14 18:02:48 +0000
commitafbc9d83cd59696a11ffc1a02606613c36ea36c0 (patch)
treee99b233d44bacb6fc62116ad328626cb722cd87d
parent5287e26007968dc0156b551cbfc34bd40bf73ba1 (diff)
downloadyajl-afbc9d83cd59696a11ffc1a02606613c36ea36c0.tar.gz
reference YAJL_MAX_DEPTH from the error that's generated when it's exceeded.
git-svn-id: http://yajl-c.googlecode.com/svn/yajl/trunk@93 e775cfb5-b74b-0410-aad5-5bebe4a96390
-rw-r--r--src/api/yajl_gen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/yajl_gen.h b/src/api/yajl_gen.h
index 32cfb50..145c2aa 100644
--- a/src/api/yajl_gen.h
+++ b/src/api/yajl_gen.h
@@ -50,7 +50,8 @@ extern "C" {
/** at a point where a map key is generated, a function other than
* yajl_gen_string was called */
yajl_gen_keys_must_be_strings,
- /** YAJL's maximum generation depth was exceeded */
+ /** YAJL's maximum generation depth was exceeded. see
+ * YAJL_MAX_DEPTH */
yajl_max_depth_exceeded,
/** A generator function (yajl_gen_XXX) was called while in an error
* state */