You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added this in leptjson.c.And I wanna know if it will work.
#define LEPT_PARSE_LITERAL(c,str) do { EXPECT(c, (*str));
size_t i = 1;
while(str[i] != 0){
if(*c->json != str[i])
return LEPT_PARSE_INVALID_VALUE;
c->json++; i++;
}
}while(0)
I added this in leptjson.c.And I wanna know if it will work.
#define LEPT_PARSE_LITERAL(c,str) do { EXPECT(c, (*str));
size_t i = 1;
while(str[i] != 0){
if(*c->json != str[i])
return LEPT_PARSE_INVALID_VALUE;
c->json++; i++;
}
}while(0)