}
size_t n_rec_items =
- (arc->n_specs == 1 || arc->specs[0].items == arc->specs[1].items
+ (arc->n_specs >= 2 && arc->specs[0].items == arc->specs[1].items
? 1
: arc->n_specs);
+
for (size_t i = 0; i < n_rec_items; i++)
{
struct arc_spec *spec = &arc->specs[i];
8,4
])
AT_CLEANUP
+
+
+AT_SETUP([AUTORECODE with /BLANK without specifier])
+
+AT_DATA([autorecode.sps], [data list notable list /x (a18).
+begin data
+one
+two
+three
+end data.
+
+* /BLANK should be either =MISSING or =VALID
+autorecode x /into y
+ /blank
+
+execute.
+])
+
+AT_CHECK([pspp -O format=csv autorecode.sps], [1], [ignore])
+
+AT_CLEANUP