Oops in verify_row() when non-integral selector references a table

This commit is contained in:
Markus Armbruster 2011-04-23 19:58:29 +02:00
parent e1caa11733
commit 97f475b6c1

View file

@ -123,8 +123,10 @@ verify_row(int type, int row)
continue;
nstr_mksymval(&val, &ca[i], j);
nstr_exec_val(&val, 0, row_ref, NSC_NOTYPE);
if (val.val_type != NSC_LONG)
if (CANT_HAPPEN(val.val_type != NSC_LONG)) {
ret_val = -1;
continue;
}
ca_sym = ef_cadef(ca[i].ca_table);
if (ca[i].ca_flags & NSC_BITS) {
/* symbol set */