elaborated error message
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@4014 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
This commit is contained in:
parent
4a504f90d8
commit
23c6b8cfd9
|
@ -543,7 +543,8 @@ void c_typecheck_baset::typecheck_compound_type(struct_union_typet &type)
|
|||
else if(have_body)
|
||||
{
|
||||
err_location(type);
|
||||
error("redefinition of compound body");
|
||||
str << "redefinition of " << type.id() << " body";
|
||||
error();
|
||||
throw 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue