Piotr Trojanek <piotr.troja...@gmail.com> writes: > On Fri, Jul 29, 2016 at 5:26 PM, Stephen Leake > <stephen_le...@stephe-leake.org> wrote: >> This is definitely an odd case. > > That's why I reported it :) > >> Is the code above adapted from real code, or were you deliberately >> looking for corner cases? > > It comes from real code.
Ok, then we should add a test case for this, and patch ada-wisi-after-cache to handle it nicely. Do you (or Simon) want to take a stab at that? The more people that can fix ada-mode, the better. You can find the portion of ada-wisi-after-cache to fix by enabling edebug (C-u C-M-x with point in the function) and stepping thru it. You can examine the caches produced by the parser by running ada-wisi-debug-keys; see the code for that function for the list of keys defined. -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list emacs-ada-m...@host114.hostmonster.com http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org