Add descriptive-name field to blocks.

This commit is contained in:
Chris Fallin 2023-02-12 13:50:58 -08:00
parent 8d0dc93930
commit f17164f56f

View file

@ -379,6 +379,8 @@ pub struct BlockDef {
pub pos_in_pred_succ: Vec<usize>,
/// Type and Value for each blockparam.
pub params: Vec<(Type, Value)>,
/// Descriptive name for the block, if any.
pub desc: String,
}
#[derive(Clone, Debug, PartialEq, Eq)]