On Sun, Feb 7, 2016 at 10:30 PM, Simon Wright <[email protected]> wrote:
> What happened there was that that list of non-terminals originally started 
> with subprogram_body, which was in alphabetical order; Stephe added 
> abstract_subprogram_declaration & expression_function_declaration after the 
> fact. I suppose we could move the entire group to the start of this case 
> statement (line 554). See also full_type_declaration etc.!

OK, thank you for clarifying. I just looked at the last group, which
was not in order, and decided not to guess what were your intentions
about sorting.

Anyway, here is a better patch. It is sorted and fixes problem with
aspect indentation both for package specs and bodies.

-- 
Piotr Trojanek
#
# old_revision [634122ee17275b302ff7dad2cd6061b9f1a3306c]
#
# patch "ada-wisi.el"
#  from [194d02ac19d86ae94f2a53fcc89e53115ddda8fa]
#    to [b2bd01a37ada7279455bab158752ccdbce514d1f]
#
============================================================
--- ada-wisi.el 194d02ac19d86ae94f2a53fcc89e53115ddda8fa
+++ ada-wisi.el b2bd01a37ada7279455bab158752ccdbce514d1f
@@ -684,6 +684,13 @@ point must be on CACHE. PREV-TOKEN is th
                        (+ (current-indentation) ada-indent-broken))
                       ))
 
+                    ((package_specification
+                      package_body)
+                     ;; package [body] P
+                     ;; with Some_Aspect
+                     ;; indenting with
+                     (current-indentation))
+
                    (private_extension_declaration
                     (cl-ecase (wisi-cache-token cache)
                       (WITH
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to