Fix assertion settin join type is PBlock statements.

This commit is contained in:
Stephen Williams 2012-05-20 11:39:05 -07:00
parent 6a57764e0e
commit 47ddf5220c
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ PBlock::~PBlock()
void PBlock::set_join_type(PBlock::BL_TYPE type)
{
assert(bl_type_ == BL_PAR);
assert(type == BL_JOIN_NONE || type==BL_JOIN_ANY);
assert(type==BL_PAR || type==BL_JOIN_NONE || type==BL_JOIN_ANY);
bl_type_ = type;
}