diff options
author | David Robillard <d@drobilla.net> | 2021-07-09 21:36:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 06bc73c6fdf986eb5d13943b497992a947661bb1 (patch) | |
tree | 23d43aa2429696bc27bc3d1c5ec2fcf7def995ff /include | |
parent | 7219a81ad6cff840eb604983b3752d4f2097532a (diff) | |
download | serd-06bc73c6fdf986eb5d13943b497992a947661bb1.tar.gz serd-06bc73c6fdf986eb5d13943b497992a947661bb1.tar.bz2 serd-06bc73c6fdf986eb5d13943b497992a947661bb1.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')
-rw-r--r-- | include/serd/writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h index 36880d2a..c5f50b0c 100644 --- a/include/serd/writer.h +++ b/include/serd/writer.h @@ -38,7 +38,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_BULK = 1U << 3U, ///< Write output in pages - SERD_WRITE_STRICT = 1U << 4U, ///< Abort with error on lossy output + SERD_WRITE_LAX = 1U << 4U, ///< Tolerate lossy output SERD_WRITE_TERSE = 1U << 5U, ///< Write terser output without newlines } SerdWriterFlag; |