renamed macro: EZC_HAS_SPECIAL_STREAM -> EZC_GENERATOR_HAS_PT_STREAM

added macro EZC_GENERATOR_HAS_WINIX_STREAM which is used by Generator::CopyStream(pt::WTextStream & src_stream, StreamType & dst_stream, bool should_escape)
if this macro is defined then Generator is able to escape output stream
This commit is contained in:
2021-06-20 16:54:55 +02:00
parent 9c4fe51790
commit 615bad7372
2 changed files with 124 additions and 86 deletions

View File

@@ -150,8 +150,8 @@ void OutStreams<StreamType>::ClearMap()
{
StreamType & str = *(i->second);
#ifdef EZC_HAS_SPECIAL_STREAM
str.Clear();
#ifdef EZC_GENERATOR_HAS_PT_STREAM
str.clear();
#else
str.str(L"");
#endif