1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix b_error to v_error

This commit is contained in:
musou1500 2019-06-23 07:47:49 +09:00 committed by Alex Medvednikov
parent a32d48e0e0
commit ccb5591447

View File

@ -64,7 +64,7 @@ Option $dec_fn.name(cJSON* root, $t* res) {
if (error_ptr != NULL) {
fprintf(stderr, "Error in decode() for $t error_ptr=: %%s\\n", error_ptr);
// printf("\\nbad js=%%s\\n", js.str);
return b_error(tos2(error_ptr));
return v_error(tos2(error_ptr));
}
}
'