1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00

* lisp/progmodes/f90.el (f90-no-block-limit):

Add associate.  (Bug#21794)
* test/automated/f90.el (f90-test-bug21794): New test.
This commit is contained in:
Glenn Morris 2015-11-01 18:25:42 -08:00
parent 3a769e173e
commit ff80687aee
2 changed files with 16 additions and 1 deletions

View file

@ -240,4 +240,19 @@ end module modname")
(forward-line -1)
(should (= 2 (current-indentation)))))
(ert-deftest f90-test-bug21794 ()
"Test for http://debbugs.gnu.org/21794 ."
(with-temp-buffer
(f90-mode)
(insert "program prog
do i=1,10
associate (x => xa(i), y => ya(i))
a(x,y,i) = fun(x,y,i)
end associate
end do
end program prog")
(f90-indent-subprogram)
(forward-line -2)
(should (= 5 (current-indentation)))))
;;; f90.el ends here