This series fixes a couple of enum-related bugs in Ada. Normally I would just check this in, since it is Ada-specific; but the second patch touches some non-Ada parts. Tom