From fc3e5a0a7c9c64d275fec498f0e80dc02444c12d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Dec 2019 19:09:49 -0500 Subject: Add support for parsing variables 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. --- src/reader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/reader.c') diff --git a/src/reader.c b/src/reader.c index 1c9469af..4c4bffa5 100644 --- a/src/reader.c +++ b/src/reader.c @@ -172,6 +172,7 @@ serd_reader_new(SerdWorld* const world, me->sink = sink; me->stack = serd_stack_new(stack_size, sizeof(SerdNode)); me->syntax = syntax; + me->flags = flags; me->next_id = 1; me->strict = !(flags & SERD_READ_LAX); -- cgit v1.2.1