aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-04-29 14:07:29 +0200
committerDavid Robillard <d@drobilla.net>2018-11-25 09:21:03 +0100
commitc8a91d6fcae2b5c7121f059f75e2a164735e56c1 (patch)
tree17ac52eddfb294bd8746fd1d6db046f6ef97ec98 /src/n3.c
parentf6511f88fe6cab53f6e9e2044926876fac59938b (diff)
downloadserd-c8a91d6fcae2b5c7121f059f75e2a164735e56c1.tar.gz
serd-c8a91d6fcae2b5c7121f059f75e2a164735e56c1.tar.bz2
serd-c8a91d6fcae2b5c7121f059f75e2a164735e56c1.zip
Clean up and separate internal headers
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index fff96288..b2f7a8f9 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -25,6 +25,8 @@
#include <string.h>
#include "reader.h"
+#include "string_utils.h"
+#include "uri_utils.h"
#define TRY_THROW(exp) if (!(exp)) goto except;
#define TRY_RET(exp) if (!(exp)) return 0;
@@ -594,7 +596,7 @@ static bool
read_IRIREF_scheme(SerdReader* reader, Ref dest)
{
uint8_t c = peek_byte(reader);
- if (!isalpha(c)) {
+ if (!is_alpha(c)) {
return r_err(reader, SERD_ERR_BAD_SYNTAX,
"bad IRI scheme start `%c'\n", c);
}