fix for enum values

git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@4030 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
This commit is contained in:
kroening 2014-06-14 15:24:06 +00:00
parent 3663e5dfbc
commit e6136eaaf5
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ void ansi_c_convertt::convert_type(
convert_type(declaration.type());
convert_type(declaration.declarator().type());
convert_expr(declaration.declarator().value());
}
else
throw "unexpected enum constant during conversion: "+it->id_string();