aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-02-01 17:05:26 -0800
committerHaibo Huang <hhb@google.com>2019-02-02 08:03:14 +0000
commit983ec7f1767590d5ffb0639edf7de169f930e6b7 (patch)
tree915c73cea023105cf9c1958617ed0383f889f8ea
parent691a96ff1aff5bf8e06792e2c2d07db1df915d92 (diff)
downloadjsmn-983ec7f1767590d5ffb0639edf7de169f930e6b7.tar.gz
Test: None Change-Id: I17eff1ab8217d2afe17f78f60361df3c53551fdd
-rw-r--r--.travis.yml4
-rw-r--r--METADATA12
-rw-r--r--jsmn.c2
3 files changed, 11 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..1c8ebd3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+language: c
+sudo: false
+script:
+ - make test
diff --git a/METADATA b/METADATA
index f404bfc..650d696 100644
--- a/METADATA
+++ b/METADATA
@@ -1,5 +1,5 @@
name: "jsmn"
-description: "jsmn (pronounced like 'jasmine') is a minimalistic JSON parser in C."
+description: "jsmn (pronounced like \'jasmine\') is a minimalistic JSON parser in C."
third_party {
url {
type: HOMEPAGE
@@ -7,12 +7,12 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://github.com/zserge/jsmn/archive/732d283ee9a2e5c34c52af0e044850576888ab09.zip"
+ value: "https://github.com/zserge/jsmn/archive/18e9fe42cbfe21d65076f5c77ae2be379ad1270f.zip"
}
- version: "732d283ee9a2e5c34c52af0e044850576888ab09"
+ version: "18e9fe42cbfe21d65076f5c77ae2be379ad1270f"
last_upgrade_date {
- year: 2018
- month: 9
- day: 6
+ year: 2019
+ month: 2
+ day: 1
}
}
diff --git a/jsmn.c b/jsmn.c
index bcd6392..853c3f1 100644
--- a/jsmn.c
+++ b/jsmn.c
@@ -1,7 +1,7 @@
#include "jsmn.h"
/**
- * Allocates a fresh unused token from the token pull.
+ * Allocates a fresh unused token from the token pool.
*/
static jsmntok_t *jsmn_alloc_token(jsmn_parser *parser,
jsmntok_t *tokens, size_t num_tokens) {