Minor debug message fixes.
This commit is contained in:
parent
4ccd938a43
commit
f93e3cf032
|
@ -973,7 +973,7 @@ struct Node
|
||||||
int opApply(T)(int delegate(ref T) dg) @trusted
|
int opApply(T)(int delegate(ref T) dg) @trusted
|
||||||
{
|
{
|
||||||
enforce(isSequence,
|
enforce(isSequence,
|
||||||
new Error("Trying to sequence-foreach over a " ~ nodeTypeString ~ "node",
|
new Error("Trying to sequence-foreach over a " ~ nodeTypeString ~ " node",
|
||||||
startMark_));
|
startMark_));
|
||||||
|
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
|
@ -517,7 +517,7 @@ final class Parser
|
||||||
|
|
||||||
immutable token = scanner_.peekToken();
|
immutable token = scanner_.peekToken();
|
||||||
throw new Error("While parsing a " ~ (block ? "block" : "flow") ~ " node",
|
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);
|
~ token.idString, token.startMark);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue