On 17.11.15 17:05, Stephen Leake wrote:
I think the best approach to fixing ada-imenu.el is to drop the regexp
and use the parse results instead; that way we only have to maintain one
set of rules for recognizing a subprogram.

(FTR, would regular expressions at all be capable of describing post Ada-95
subprogram specs with their built-in pumps? At least not reasonably, IINM.)

   function F0 return access
     function (X1 : access
                 function (X1 : access
                             function
                             (X1 : access
                                function return T;
                              X2 : access
                                function return T)
                             return T)
                 return access
                 function (X3 : access
                             function (X2, X3 : access
                                         function (X1, X2, X3 : access
                                                     function return T)
                                         return T)
                             return T)
                 return access
                 function (B0 : access T := X'Access) return access T)
              return access T'Class'Class'Class'Class'Class;


_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to