(verify_row): NSC_BITS implies symbol_ca. Oops if violated.

This commit is contained in:
Markus Armbruster 2006-02-05 19:57:10 +00:00
parent afd93afbd3
commit b121b58e91

View file

@ -76,14 +76,8 @@ verify_row(int type, int row)
ca_sym = ef_cadef(ca[i].ca_table); ca_sym = ef_cadef(ca[i].ca_table);
if (ca[i].ca_flags & NSC_BITS) { if (ca[i].ca_flags & NSC_BITS) {
/* symbol set */ /* symbol set */
if (ca_sym != symbol_ca) { if (CANT_HAPPEN(ca_sym != symbol_ca)) {
fprintf(stderr, ret_val = -1;
"Unable to verify symbol set as the "
"table %s is not created as symbol table "
"for table %s row %d field %s\n",
ef_nameof(ca[i].ca_table), ef_nameof(type),
row + 1, ca[i].ca_name
);
continue; continue;
} }
for (k = 0; k < (int)sizeof(long) * 8; k++) { for (k = 0; k < (int)sizeof(long) * 8; k++) {