]> 4ch.mooo.com Git - 16.git/commitdiff
readded noisy output to jsmn
authorsparky4 <sparky4@cock.li>
Wed, 10 Jun 2015 17:06:26 +0000 (12:06 -0500)
committersparky4 <sparky4@cock.li>
Wed, 10 Jun 2015 17:06:26 +0000 (12:06 -0500)
modified:   data/g.pal
modified:   maptest.exe
modified:   maptest0.exe
modified:   scroll.exe
modified:   src/lib/jsmn/jsmn.c

data/g.pal
maptest.exe
maptest0.exe
scroll.exe
src/lib/jsmn/jsmn.c

index f977ba228c7d317afd83aac38a89050270e5acf9..4804f78369817afbfeaf6320e4d8b867120b722f 100644 (file)
Binary files a/data/g.pal and b/data/g.pal differ
index 4bd8da1288a565a0392d09dcc712488dfe3a808e..27a07474d1c31719ce99607ba97cb34da527e9e7 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 0930c208e03876bf256a74908edd2f3b2f8f1557..4b0b2f57f5ab865c26df959643ed5a7e9f7e4db7 100644 (file)
Binary files a/maptest0.exe and b/maptest0.exe differ
index 73ad2056136711be56f425b0090c24e8d141adcc..350072781918ec30bbb173790ace5889b10e0c8a 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index 9e1e7d4680d09c955aca4e6c28e406e7a46593cc..d79f9a5ddb447d96d494d363ca62d7ae7f0b8e3c 100644 (file)
@@ -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) {