mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Add json QUIRK_ALLOW_TRAILING_COMMENT
This commit is contained in:
1 parent
2912ea8e28
commit
fa50f4de67
6 files changed
+160
-13
No files matched your search
@@ -934,6 +934,7 @@ initialize_globals(int argc, char** argv) {
|
||||
if (g_flags.input_allow_comments) {
|
||||
g_dec.set_quirk_enabled(WUFFS_JSON__QUIRK_ALLOW_COMMENT_BLOCK, true);
|
||||
g_dec.set_quirk_enabled(WUFFS_JSON__QUIRK_ALLOW_COMMENT_LINE, true);
|
||||
g_dec.set_quirk_enabled(WUFFS_JSON__QUIRK_ALLOW_TRAILING_COMMENT, true);
|
||||
}
|
||||
if (g_flags.input_allow_extra_comma) {
|
||||
g_dec.set_quirk_enabled(WUFFS_JSON__QUIRK_ALLOW_EXTRA_COMMA, true);
|
||||
|
||||
Reference in new issue
Block a user