print the name of the duplicate struct

This commit is contained in:
Bill Currie 2002-07-13 03:20:17 +00:00
parent c6ad0ff819
commit c0880a94a9

View file

@ -133,7 +133,7 @@ new_struct (const char *name)
if (name) {
strct = (struct_t *) Hash_Find (structs, name);
if (strct) {
error (0, "duplicate struct definition");
error (0, "duplicate struct definition: `%s'", name);
return 0;
}
}