Hi,

I am attaching a reproducer for a "wrong-type ..." error that happens
when indenting the attached code and a patch that fixes the problem.

I am using monotone version 64157a849c76aaec21dd8a3b2f1d6d1bd483a91c.

-- 
Piotr Trojanek
#
# old_revision [64157a849c76aaec21dd8a3b2f1d6d1bd483a91c]
#
# patch "ada-wisi.el"
#  from [616e9885e07e02dbe0a7502a54a792e149ba98ed]
#    to [5682f1817cad9a49a5345723a2cf1e38406178e5]
#
============================================================
--- ada-wisi.el 616e9885e07e02dbe0a7502a54a792e149ba98ed
+++ ada-wisi.el 5682f1817cad9a49a5345723a2cf1e38406178e5
@@ -1121,6 +1121,9 @@ cached token, return new indentation for
                   ;; not indenting keyword following 'generic'
                   (+ (current-column) ada-indent-broken))
 
+                  (paren_expression
+                   (+ (current-column) ada-indent))
+
                  (primary
                   ;; test/ada_mode-quantified_expressions.adb
                   ;; if (for some J in 1 .. 10 =>
package body For_Some_Function is

   function F return Boolean is
     (for some X of Y =>
        Pred (X));  --  ??? error when indenting this line

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

Reply via email to