Fix indentation of Fortran do-loops
* lisp/progmodes/fortran.el (fortran-calculate-indent): Fix regexp for do-loops. Reported by Ken Mankoff <km@kenmankoff.com>. (Bug#73218)
This commit is contained in:
parent
3e98ad3063
commit
98e582e74a
1 changed files with 1 additions and 1 deletions
|
@ -1631,7 +1631,7 @@ Return point or nil."
|
|||
(setq icol (+ icol fortran-if-indent)))
|
||||
((looking-at "where[ \t]*(.*)[ \t]*\n")
|
||||
(setq icol (+ icol fortran-if-indent)))
|
||||
((looking-at "do\\b")
|
||||
((looking-at "do *[0-9]* *[a-z0-9_]+ *= *[a-z0-9_]+ *, *[a-z0-9_]+")
|
||||
(setq icol (+ icol fortran-do-indent)))
|
||||
((looking-at
|
||||
"\\(structure\\|union\\|map\\|interface\\)\
|
||||
|
|
Loading…
Add table
Reference in a new issue