aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-04 17:44:49 +0000
committerDavid Robillard <d@drobilla.net>2015-10-04 17:44:49 +0000
commit6bacb30a9ae65174d3b38f62ff845706f14305a1 (patch)
tree0df690e837e347ea6e16988325e6e167b518d915 /src/reader.c
parent2e8a0c16c39083e4ee0328eab4fa87f5b9c94069 (diff)
downloadserd-6bacb30a9ae65174d3b38f62ff845706f14305a1.tar.gz
serd-6bacb30a9ae65174d3b38f62ff845706f14305a1.tar.bz2
serd-6bacb30a9ae65174d3b38f62ff845706f14305a1.zip
Delete trailing whitespace
git-svn-id: http://svn.drobilla.net/serd/trunk@494 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reader.c b/src/reader.c
index c3c2e538..a17fac88 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -635,7 +635,7 @@ read_PN_CHARS(SerdReader* reader, Ref dest)
if ((c & 0x80)) { // Multi-byte character
return !read_utf8_character(reader, dest, eat_byte_safe(reader, c));
}
-
+
if (is_alpha(c) || is_digit(c) || c == '_' || c == '-') {
push_byte(reader, dest, eat_byte_safe(reader, c));
return true;
@@ -656,7 +656,7 @@ read_PERCENT(SerdReader* reader, Ref dest)
}
return false;
}
-
+
static SerdStatus
read_PLX(SerdReader* reader, Ref dest)
{
@@ -884,7 +884,7 @@ read_number(SerdReader* reader, Ref* dest, Ref* datatype, bool* ate_dot)
*ate_dot = true; // Force caller to deal with stupid grammar
return true; // Next byte is not a number character, done
}
-
+
push_byte(reader, ref, '.');
read_0_9(reader, ref, false);
}