diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-13 16:47:44 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-13 16:47:44 (GMT) |
commit | 4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235 (patch) | |
tree | 8c023473bb342780ddf51a893d18369f1319bb5c /contrib/src/jsmn/jsmn.c | |
parent | 0aa0fe08dc308c94379c47d0bf9745e341cb4c81 (diff) | |
download | uscxml-4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235.zip uscxml-4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235.tar.gz uscxml-4f6cbe9e7aec2b4a6c8f286f9097abfb011a6235.tar.bz2 |
First support for serialization and some bug fixes for DOM per data.src
Diffstat (limited to 'contrib/src/jsmn/jsmn.c')
-rw-r--r-- | contrib/src/jsmn/jsmn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/src/jsmn/jsmn.c b/contrib/src/jsmn/jsmn.c index 1b918f5..3352214 100644 --- a/contrib/src/jsmn/jsmn.c +++ b/contrib/src/jsmn/jsmn.c @@ -191,7 +191,8 @@ jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, jsmntok_t *tokens, } } /* Error if unmatched closing bracket */ - if (i == -1) return JSMN_ERROR_INVAL; + if (i == -1) + return JSMN_ERROR_INVAL; for (; i >= 0; i--) { token = &tokens[i]; if (token->start != -1 && token->end == -1) { |