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:
parent
a32d48e0e0
commit
ccb5591447
@ -64,7 +64,7 @@ Option $dec_fn.name(cJSON* root, $t* res) {
|
|||||||
if (error_ptr != NULL) {
|
if (error_ptr != NULL) {
|
||||||
fprintf(stderr, "Error in decode() for $t error_ptr=: %%s\\n", error_ptr);
|
fprintf(stderr, "Error in decode() for $t error_ptr=: %%s\\n", error_ptr);
|
||||||
// printf("\\nbad js=%%s\\n", js.str);
|
// printf("\\nbad js=%%s\\n", js.str);
|
||||||
return b_error(tos2(error_ptr));
|
return v_error(tos2(error_ptr));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user