Just noticed this one ..
package Enum_Rep is
type Leds is (Led3, Led4) with
Convention => C;
for Leds use (Led3 => 2#0000#,
Led4 => 2#0001#); -- should align with Led3 above
end Enum_Rep;
Also, it looks as though underscores aren’t allowed in based literals: I was
going to write 2#0000_0000_0000_0001# but C-c C-f stopped at the first # saying
“unrecognized token #”. (Now that I think about it, there should probably have
been 32 bits in that representation, not 16; a bit OTT for clarity, perhaps)
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org