Minor debug message fixes.

This commit is contained in:
kiith-sa 2012-11-02 14:32:09 +01:00
parent 4ccd938a43
commit f93e3cf032
2 changed files with 2 additions and 2 deletions

View file

@ -973,7 +973,7 @@ struct Node
int opApply(T)(int delegate(ref T) dg) @trusted
{
enforce(isSequence,
new Error("Trying to sequence-foreach over a " ~ nodeTypeString ~ "node",
new Error("Trying to sequence-foreach over a " ~ nodeTypeString ~ " node",
startMark_));
int result = 0;

View file

@ -517,7 +517,7 @@ final class Parser
immutable token = scanner_.peekToken();
throw new Error("While parsing a " ~ (block ? "block" : "flow") ~ " node",
startMark, "expected the node content, but found: "
startMark, "expected node content, but found: "
~ token.idString, token.startMark);
}