Peter Stuge wrote:
> if (',' == *p)
> p++;
Here it should actually also throw parse error if there is any other
character than comma or end-of-input:
if (',' == *p)
p++;
else if (*p) {
fprintf(stderr, "invalid input at '%.5s'\n", p);
return 4;
}
//Peter
