(ada-gen-treat-proc): Bind `procname' and `functype'.
authorErik Naggum <erik@naggum.no>
Mon, 9 Oct 1995 03:11:29 +0000 (03:11 +0000)
committerErik Naggum <erik@naggum.no>
Mon, 9 Oct 1995 03:11:29 +0000 (03:11 +0000)
lisp/progmodes/ada-mode.el

index d280b31..13a3a71 100644 (file)
@@ -3629,7 +3629,7 @@ This does a lot more highlighting.")
   ;; MATCH is a cons cell containing the start and end location of the
   ;; last search for ada-procedure-start-regexp. 
   (goto-char (car match))
-  (let (proc-found func-found)
+  (let (proc-found func-found procname functype)
     (cond
      ((or (setq proc-found (looking-at "^[ \t]*procedure"))
          (setq func-found (looking-at "^[ \t]*function")))