ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ada-mode-users] GPR problem


From: Simon Wright
Subject: [Ada-mode-users] GPR problem
Date: Sun, 19 Nov 2017 16:18:44 +0000

I found that if I have a line like

      for Default_Switches ("c") use ("-g", "-O0");

and I put point before 'use' and RET, I get a missing cl-case error, which this 
fixes:

$ git diff
diff --git a/gpr-wisi.el b/gpr-wisi.el
index 586fa5d..26a5c53 100644
--- a/gpr-wisi.el
+++ b/gpr-wisi.el
@@ -78,6 +78,8 @@ or containing ancestor of CACHE that is at a line beginning."
          cache))
        (close-paren (wisi-indent-paren 0))
        (open-paren nil); let after-keyword handle it
+        (statement-other
+         (gpr-wisi-indent-containing ada-indent-broken cache))
        (statement-start
         (if (not (wisi-get-containing-cache cache))
             ;; at bob

(sorry about the git-ness: I no longer have write access to ada-france, and 
even using pull instead of sync I fell foul of getting MTN to use Emacs for 
merging. I really need a hands-on training session for that)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]