error messages and error handling

This commit is contained in:
dick
1988-09-16 23:19:50 +00:00
parent a5f48d6493
commit 1f7115fa8d
27 changed files with 111 additions and 101 deletions

View File

@@ -404,7 +404,7 @@ add_field(szp, fd, fdtpp, idf, stp)
default:
/* wrong type altogether */
error("illegal field type (%s)",
error("field type cannot be %s",
symbol2str((*fdtpp)->tp_fund));
*fdtpp = error_type;
return field_offset;