Simon Wright <[email protected]> writes: > 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;
This is due to a bug in wisi-backward-token; the '#' gets lumped with the ',' (both have punctuation syntax class), which doesn't happen in wisi-forward-token, so things get confused. Working on a fix. > 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 #”. Arg. That's because I added numeric_literal to the parser; I thought I would actually need it, but then it turned out I didn't, and now it's breaking stuff. Sigh. -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
