Print all comments under condition block prior to "if", "while", "for"

This commit is contained in:
caheckman 2021-01-21 17:41:45 -05:00
parent 8a07e62879
commit 798157b50b
5 changed files with 60 additions and 19 deletions

View file

@ -631,6 +631,7 @@ void PrintLanguage::emitLineComment(int4 indent,const Comment *comm)
emit->tagComment(commentend.c_str(),EmitXml::comment_color,
spc,off);
emit->stopComment(id);
comm->setEmitted(true);
}
/// Tell the emitter whether to emit just the raw tokens or if