FUCK well i am stuck.... wwww
*/
-//++++ map->data[q] = (byte)strtol(js+t->start, (char **)t->end, 10);
+ map->data[q] = (byte)strtol(js+t->start, (char **)t->end, 10);
// printf("%d[%d]", q, map->data[q]);
}
else
/* Prepare parser */
jsmn_init(&p);
-fprintf(stderr, "b4 malloc\n");
+
/* Allocate some tokens as a start */
tok = malloc(sizeof(*tok) * tokcount);
if (tok == NULL) {
eof_expected = 1;
}
}
-fprintf(stderr, "a4 malloc\n");
free(js);
free(tok);