diff options
author | David Robillard <d@drobilla.net> | 2021-08-09 18:28:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | fc2114a10769349d38b3215bc95ded855a2be5b6 (patch) | |
tree | 38c79a33bac7d81718e18aced31b238235e8a44d /src/read_trig.c | |
parent | 9b1139fe7045a0630e87501235af21803860b80c (diff) | |
download | serd-fc2114a10769349d38b3215bc95ded855a2be5b6.tar.gz serd-fc2114a10769349d38b3215bc95ded855a2be5b6.tar.bz2 serd-fc2114a10769349d38b3215bc95ded855a2be5b6.zip |
[WIP] Preserve anonymous graph syntax in TriG
[WIP] Untested
Diffstat (limited to 'src/read_trig.c')
-rw-r--r-- | src/read_trig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/read_trig.c b/src/read_trig.c index d710eaeb..e3d7a7e9 100644 --- a/src/read_trig.c +++ b/src/read_trig.c @@ -128,6 +128,7 @@ read_block(SerdReader* const reader, ReadContext* const ctx) } ctx->graph = token; + (*ctx->flags) |= (s_type == '[' ? SERD_EMPTY_G : 0U); return read_wrappedGraph(reader, ctx); } |