aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-09 21:36:52 -0400
committerDavid Robillard <d@drobilla.net>2022-01-13 23:04:12 -0500
commit2638ded01498b41a67574a2eae4181106226a933 (patch)
tree1f57ba340780ccf3c729c7b7cf94650ab6d5a55a /include/serd
parente0e5b83f30b784699a5ae039e8ae7e1dd69410d4 (diff)
downloadserd-2638ded01498b41a67574a2eae4181106226a933.tar.gz
serd-2638ded01498b41a67574a2eae4181106226a933.tar.bz2
serd-2638ded01498b41a67574a2eae4181106226a933.zip
Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAX
The unset value for flags should represent the best default, which in this case is strict parsing. Lax parsing is the riskier opt-in option.
Diffstat (limited to 'include/serd')
-rw-r--r--include/serd/serd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h
index 3263027b..e2e610db 100644
--- a/include/serd/serd.h
+++ b/include/serd/serd.h
@@ -1598,7 +1598,7 @@ typedef enum {
SERD_WRITE_UNQUALIFIED = 1u << 1u, ///< Do not shorten URIs into CURIEs
SERD_WRITE_UNRESOLVED = 1u << 2u, ///< Do not make URIs relative
SERD_WRITE_TERSE = 1u << 3u, ///< Write terser output without newlines
- SERD_WRITE_STRICT = 1u << 4u ///< Abort with error on lossy output
+ SERD_WRITE_LAX = 1u << 4u ///< Tolerate lossy output
} SerdWriterFlag;
/// Bitwise OR of SerdWriterFlag values