From 9b1139fe7045a0630e87501235af21803860b80c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 1 Dec 2023 21:59:18 -0500 Subject: [WIP] Add support for reading and writing variables [WIP] Command line option, move later? This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries. --- include/serd/reader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/serd/reader.h') diff --git a/include/serd/reader.h b/include/serd/reader.h index 4c669342..040f3398 100644 --- a/include/serd/reader.h +++ b/include/serd/reader.h @@ -29,7 +29,8 @@ typedef struct SerdReaderImpl SerdReader; /// Reader options typedef enum { - SERD_READ_LAX = 1U << 0U, ///< Tolerate invalid input where possible + SERD_READ_LAX = 1U << 0U, ///< Tolerate invalid input where possible + SERD_READ_VARIABLES = 1U << 1U, ///< Support variable nodes } SerdReaderFlag; /// Bitwise OR of SerdReaderFlag values -- cgit v1.2.1