diff options
author | David Robillard <d@drobilla.net> | 2024-02-07 18:51:15 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-03-08 17:13:28 -0500 |
commit | 37723be4c8b49b785c40fe5ccd34edbc7c018e1b (patch) | |
tree | 4c784a3384c2574b5eb89f2b3efc90132b202aa5 /src/n3.c | |
parent | 9caf3ec7c867795c475a42c72c6a4aa3f41104b7 (diff) | |
download | serd-37723be4c8b49b785c40fe5ccd34edbc7c018e1b.tar.gz serd-37723be4c8b49b785c40fe5ccd34edbc7c018e1b.tar.bz2 serd-37723be4c8b49b785c40fe5ccd34edbc7c018e1b.zip |
Fix parsing NQuads lines with no space before the final dot
Diffstat (limited to 'src/n3.c')
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1763,7 +1763,7 @@ read_nquads_statement(SerdReader* const reader) // Terminating '.' read_ws_star(reader); - if (!eat_byte_check(reader, '.')) { + if (!ate_dot && !eat_byte_check(reader, '.')) { return SERD_ERR_BAD_SYNTAX; } } |