summaryrefslogtreecommitdiff
path: root/src/upb_msg.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-20 10:52:37 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-20 10:52:37 -0700
commit1e388b0af3d7c2384cd350a349ba756914620466 (patch)
treed2b515f706dc15ba18b74c0cfd2da5a7052be468 /src/upb_msg.h
parent293cbe5135d64a1c85bb5125d9d4a1f6f39886f8 (diff)
Significant, experimental changes (setjmp/longjmp, group handling).
Diffstat (limited to 'src/upb_msg.h')
-rw-r--r--src/upb_msg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/upb_msg.h b/src/upb_msg.h
index 1d41805..14fc870 100644
--- a/src/upb_msg.h
+++ b/src/upb_msg.h
@@ -331,11 +331,17 @@ void upb_msg_reuse_submsg(void **msg, struct upb_msg *m);
/* This is all just a layer on top of the stream-oriented facility in
* upb_parse.h. */
+struct upb_msg_parse_frame {
+ struct upb_msg *m;
+ void *data;
+};
+
struct upb_msg_parse_state {
struct upb_parse_state s;
bool merge;
bool byref;
struct upb_msg *m;
+ struct upb_msg_parse_frame stack[UPB_MAX_NESTING], *top;
};
/* Initializes/frees a message parser. The parser will write the data to the
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback