added some debug log

git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@357 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-07-13 23:15:12 +00:00
parent 8df9aa86a0
commit fb05eb6860
3 changed files with 30 additions and 6 deletions

View File

@@ -781,7 +781,17 @@ void Generator<StreamType>::MakeTextContainer(Item & item)
std::vector<Item*>::iterator i = item.item_tab.begin();
for( ; i != item.item_tab.end() && !break_generating ; ++i )
MakeText(**i);
{
if( *i == 0 )
{
#ifdef EZC_HAS_SPECIAL_STREAM
// temporary for debugging
log << log1 << "Generator: something wrong !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" << logend;
#endif
}
else
MakeText(**i);
}
}