set 'val' and 'parens' for value's format spec if 'condition' is set
added function or_