std: change set_quirk_enabled to set_quirk

This commit is contained in:
Nigel Tao committed 2023-04-14 21:42:15 +10:00
1 parent 176cdf7527
commit 6e84987d33
37 files changed
+644 -490

No files matched your search

+1 -1
View File
@@ -391,7 +391,7 @@ DecodeJson(DecodeJsonCallbacks& callbacks,
}
bool allow_tilde_n_tilde_r_tilde_t = false;
for (size_t i = 0; i < quirks.repr.len; i++) {
dec->set_quirk_enabled(quirks.repr.ptr[i], true);
dec->set_quirk(quirks.repr.ptr[i], 1);
if (quirks.repr.ptr[i] ==
WUFFS_JSON__QUIRK_JSON_POINTER_ALLOW_TILDE_N_TILDE_R_TILDE_T) {
allow_tilde_n_tilde_r_tilde_t = true;