return -1;
}
if (_parse_integer(num, version)) {
- /* Expected version number. */
+ strcpy(context->error_msg, "expected version number after `#version'");
return -1;
}
i++;
break;
default:
- /* Expected version number. */
+ strcpy(context->error_msg, "expected version number after `#version'");
return -1;
}
}
break;
default:
- /* Expected end of line. */
+ strcpy(context->error_msg, "expected end of line after version number");
return -1;
}
}