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 | |
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')
-rw-r--r-- | src/n3.c | 2 | ||||
-rw-r--r-- | src/serd_config.h | 2 |
2 files changed, 2 insertions, 2 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; } } diff --git a/src/serd_config.h b/src/serd_config.h index 745232b8..150ffb81 100644 --- a/src/serd_config.h +++ b/src/serd_config.h @@ -36,7 +36,7 @@ #define SERD_SRC_SERD_CONFIG_H // Define version unconditionally so a warning will catch a mismatch -#define SERD_VERSION "0.32.2" +#define SERD_VERSION "0.32.3" #if !defined(SERD_NO_DEFAULT_CONFIG) |