diff options
author | David Robillard <d@drobilla.net> | 2021-07-09 21:36:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:04:12 -0500 |
commit | 2638ded01498b41a67574a2eae4181106226a933 (patch) | |
tree | 1f57ba340780ccf3c729c7b7cf94650ab6d5a55a /include/serd | |
parent | e0e5b83f30b784699a5ae039e8ae7e1dd69410d4 (diff) | |
download | serd-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.h | 2 |
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 |