From: sparky4 Date: Wed, 10 Jun 2015 17:06:26 +0000 (-0500) Subject: readded noisy output to jsmn X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6da236d02931705f7dd3a88348013f96b0e186e1;p=16.git readded noisy output to jsmn modified: data/g.pal modified: maptest.exe modified: maptest0.exe modified: scroll.exe modified: src/lib/jsmn/jsmn.c --- diff --git a/data/g.pal b/data/g.pal index f977ba22..4804f783 100644 Binary files a/data/g.pal and b/data/g.pal differ diff --git a/maptest.exe b/maptest.exe index 4bd8da12..27a07474 100644 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/maptest0.exe b/maptest0.exe index 0930c208..4b0b2f57 100644 Binary files a/maptest0.exe and b/maptest0.exe differ diff --git a/scroll.exe b/scroll.exe index 73ad2056..35007278 100644 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/lib/jsmn/jsmn.c b/src/lib/jsmn/jsmn.c index 9e1e7d46..d79f9a5d 100644 --- a/src/lib/jsmn/jsmn.c +++ b/src/lib/jsmn/jsmn.c @@ -157,14 +157,14 @@ jsmnerr_t jsmn_parse(jsmn_parser huge *parser, const char huge *js, size_t len, int i; jsmntok_t huge *token; int count = 0; - //static unsigned long pee=0; + static unsigned long pee=0; for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) { char c; jsmntype_t type; -//fprintf(stdout, "pee=%lu count=%u i=%d nt=%u\n", pee, count, i, num_tokens); -//pee++; +fprintf(stdout, "pee=%lu count=%u i=%d nt=%u\n", pee, count, i, num_tokens); +pee++; c = js[parser->pos]; switch (c) {