diff options
author | David Robillard <d@drobilla.net> | 2019-12-18 19:09:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:06 -0500 |
commit | fc3e5a0a7c9c64d275fec498f0e80dc02444c12d (patch) | |
tree | 538ab16491a4726431233fe22b2cd08b001281c6 /src/reader.c | |
parent | b7948f8c9ad54c30e2579fd5da4626c6f3de325a (diff) | |
download | serd-fc3e5a0a7c9c64d275fec498f0e80dc02444c12d.tar.gz serd-fc3e5a0a7c9c64d275fec498f0e80dc02444c12d.tar.bz2 serd-fc3e5a0a7c9c64d275fec498f0e80dc02444c12d.zip |
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.
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |