diff options
author | David Robillard <d@drobilla.net> | 2018-12-30 13:52:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:48 -0500 |
commit | ef3554df938fbe419615c270573d72994f0bb67d (patch) | |
tree | 35e3b10d12b3cc0c212e02487f6514227b282c63 /src/n3.c | |
parent | 0edc2af7dde0593eda7c42211be2590c26859a4f (diff) | |
download | serd-ef3554df938fbe419615c270573d72994f0bb67d.tar.gz serd-ef3554df938fbe419615c270573d72994f0bb67d.tar.bz2 serd-ef3554df938fbe419615c270573d72994f0bb67d.zip |
Use simpler names for statement flags
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -935,9 +935,9 @@ read_anon(SerdReader* reader, ReadContext ctx, bool subject, SerdNode** dest) bool empty; eat_byte_safe(reader, '['); if ((empty = peek_delim(reader, ']'))) { - *ctx.flags |= (subject) ? SERD_EMPTY_S : SERD_ANON_O_BEGIN; + *ctx.flags |= (subject) ? SERD_EMPTY_S : SERD_ANON_O; } else { - *ctx.flags |= (subject) ? SERD_ANON_S_BEGIN : SERD_ANON_O_BEGIN; + *ctx.flags |= (subject) ? SERD_ANON_S : SERD_ANON_O; if (peek_delim(reader, '=')) { if (!(*dest = read_blankName(reader)) || !eat_delim(reader, ';')) { @@ -1137,10 +1137,10 @@ read_collection(SerdReader* reader, ReadContext ctx, SerdNode** dest) *dest = end ? reader->rdf_nil : blank_id(reader); if (ctx.subject) { // subject predicate _:head - *ctx.flags |= (end ? 0 : SERD_LIST_O_BEGIN); + *ctx.flags |= (end ? 0 : SERD_LIST_O); TRY(st, emit_statement(reader, ctx, *dest)); } else { - *ctx.flags |= (end ? 0 : SERD_LIST_S_BEGIN); + *ctx.flags |= (end ? 0 : SERD_LIST_S); } if (end) { |