for (tree v = TYPE_VALUES(target); v != NULL; v = TREE_CHAIN (v)) {
generate("\t{ name => '%s', value => '%ld' },\n",
IDENTIFIER_POINTER(TREE_PURPOSE(v)),
- tree_to_shwi(TREE_VALUE(v)));
+ tree_to_shwi(DECL_INITIAL(TREE_VALUE(v))));
}
generate("]},\n");
break;
for (tree v = TYPE_VALUES(type); v != NULL; v = TREE_CHAIN (v)) {
generate("\t{ name => '%s', value => '%ld' },\n",
IDENTIFIER_POINTER(TREE_PURPOSE(v)),
- tree_to_shwi(TREE_VALUE(v)));
+ tree_to_shwi(DECL_INITIAL(TREE_VALUE(v))));
}
generate("]},\n");
break;