From 151184a75448aff28fabcefb986bbdbda0c12228 Mon Sep 17 00:00:00 2001 From: Cameron Ross Date: Thu, 5 Jul 2018 18:45:19 -0300 Subject: [PATCH] remove some refs to YStream --- source/dyaml/emitter.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dyaml/emitter.d b/source/dyaml/emitter.d index ea6bbf1..3f100f3 100644 --- a/source/dyaml/emitter.d +++ b/source/dyaml/emitter.d @@ -315,7 +315,7 @@ struct Emitter(Range, CharType) if (isOutputRange!(Range, CharType)) void expectStreamStart() @safe { enforce(eventTypeIs(EventID.StreamStart), - new EmitterException("Expected YStreamStart, but got " ~ event_.idString)); + new EmitterException("Expected StreamStart, but got " ~ event_.idString)); writeStreamStart(); nextExpected(&expectDocumentStart!(Yes.first)); @@ -333,7 +333,7 @@ struct Emitter(Range, CharType) if (isOutputRange!(Range, CharType)) void expectDocumentStart(Flag!"first" first)() @safe { enforce(eventTypeIs(EventID.DocumentStart) || eventTypeIs(EventID.StreamEnd), - new EmitterException("Expected DocumentStart or YStreamEnd, but got " + new EmitterException("Expected DocumentStart or StreamEnd, but got " ~ event_.idString)); if(event_.id == EventID.DocumentStart)