From 47ddf5220c07567d7e536a84040d778a709829a0 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Sun, 20 May 2012 11:39:05 -0700 Subject: [PATCH] Fix assertion settin join type is PBlock statements. --- Statement.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Statement.cc b/Statement.cc index 64df85ebd..4fcedc777 100644 --- a/Statement.cc +++ b/Statement.cc @@ -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; }