More style fixes in Scanner.

This commit is contained in:
Ferdinand Majerech 2014-07-23 03:10:25 +02:00
parent 0a7d21f1c6
commit f8c1d0204b

View file

@ -1021,7 +1021,7 @@ final class Scanner
suffix = scanTagURI("tag", startMark);
enforce(reader_.peek() == '>',
new Error("While scanning a tag", startMark,
"expected '>' but found" ~ to!string(reader_.peek()),
"expected '>' but found" ~ reader_.peek().to!string,
reader_.mark));
reader_.forward();
}
@ -1058,7 +1058,7 @@ final class Scanner
enforce(" \0\n\r\u0085\u2028\u2029"d.canFind(reader_.peek()),
new Error("While scanning a tag", startMark,
"expected ' ' but found" ~ to!string(reader_.peek()),
"expected ' ' but found" ~ reader_.peek().to!string,
reader_.mark));
return tagToken(startMark, reader_.mark, to!string(handle ~ '\0' ~ suffix));
}