summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 11:51:08 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 11:51:57 +0100
commit93a646cacbbf5b96ec711fc2fe5681e21d1caca3 (patch)
tree3d5c92e3f566136f9b3fc22d5641612064a2500a /src
parentee32624cd2b473e299e822ed10b58ca408698e4b (diff)
downloadingen-93a646cacbbf5b96ec711fc2fe5681e21d1caca3.tar.gz
ingen-93a646cacbbf5b96ec711fc2fe5681e21d1caca3.tar.bz2
ingen-93a646cacbbf5b96ec711fc2fe5681e21d1caca3.zip
Fix newlines in parser error messages
Diffstat (limited to 'src')
-rw-r--r--src/Parser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp
index 27f7d753..e15f58ec 100644
--- a/src/Parser.cpp
+++ b/src/Parser.cpp
@@ -467,32 +467,32 @@ parse_arc(Ingen::World* world,
Sord::Iter h = model.find(subject, ingen_head, nil);
if (t.end()) {
- world->log().error("Arc has no tail");
+ world->log().error("Arc has no tail\n");
return false;
} else if (h.end()) {
- world->log().error("Arc has no head");
+ world->log().error("Arc has no head\n");
return false;
}
const std::string tail_str = relative_uri(
base_uri, t.get_object().to_string(), true);
if (!Raul::Path::is_valid(tail_str)) {
- world->log().error("Arc tail has invalid URI");
+ world->log().error("Arc tail has invalid URI\n");
return false;
}
const std::string head_str = relative_uri(
base_uri, h.get_object().to_string(), true);
if (!Raul::Path::is_valid(head_str)) {
- world->log().error("Arc head has invalid URI");
+ world->log().error("Arc head has invalid URI\n");
return false;
}
if (!(++t).end()) {
- world->log().error("Arc has multiple tails");
+ world->log().error("Arc has multiple tails\n");
return false;
} else if (!(++h).end()) {
- world->log().error("Arc has multiple heads");
+ world->log().error("Arc has multiple heads\n");
return false;
}