diff options
author | David Robillard <d@drobilla.net> | 2020-08-16 12:42:58 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-07 15:32:24 -0500 |
commit | 9a8e06aa5bdc62ed589bd8ed5789bd059cec0700 (patch) | |
tree | ba5263262fad84c5f58bd60f3c6f6fcba30d6516 /src/n3.c | |
parent | d4ae57afbd7da668dbf89f7b7e66e2f064437a98 (diff) | |
download | serd-9a8e06aa5bdc62ed589bd8ed5789bd059cec0700.tar.gz serd-9a8e06aa5bdc62ed589bd8ed5789bd059cec0700.tar.bz2 serd-9a8e06aa5bdc62ed589bd8ed5789bd059cec0700.zip |
Simplify reader interface
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1683,8 +1683,9 @@ read_nquadsDoc(SerdReader* reader) } if (peek_byte(reader) == '@') { - return r_err( + r_err( reader, SERD_ERR_BAD_SYNTAX, "syntax does not support directives\n"); + return SERD_ERR_BAD_SYNTAX; } // subject predicate object |