(*input >= '0' && *input <= '9') ||
(*input == '_')) {
if (i >= sizeof(identifier) - 1) {
+ strcpy(context->error_msg, "out of memory");
return -1;
}
identifier[i++] = *input++;
(*input == '-') ||
(*input == '.')) {
if (i >= sizeof(number) - 1) {
+ strcpy(context->error_msg, "out of memory");
return -1;
}
number[i++] = *input++;
out = realloc(out, new_max * sizeof(struct sl_pp_token_info));
if (!out) {
+ strcpy(context->error_msg, "out of memory");
return -1;
}
out_max = new_max;