changeset 6123:3c66892f0083

(pascal-sub-block-re): Recognize for and with.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Mar 1994 22:28:47 +0000
parents 6e9a078b16bd
children 56546a41a683
files lisp/progmodes/pascal.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/pascal.el	Tue Mar 01 15:59:45 1994 +0000
+++ b/lisp/progmodes/pascal.el	Tue Mar 01 22:28:47 1994 +0000
@@ -112,7 +112,7 @@
 (defconst pascal-end-block-re   "\\<\\(end\\|until\\)\\>")
 (defconst pascal-declaration-re "\\<\\(const\\|label\\|type\\|var\\)\\>")
 (defconst pascal-defun-re       "\\<\\(function\\|procedure\\|program\\)\\>")
-(defconst pascal-sub-block-re   "\\<\\(if\\|else\\|while\\)\\>")
+(defconst pascal-sub-block-re   "\\<\\(if\\|else\\|for\\|while\\|with\\)\\>")
 (defconst pascal-noindent-re    "\\<\\(begin\\|end\\|until\\)\\>")
 (defconst pascal-nosemi-re      "\\<\\(begin\\|repeat\\|then\\|do\\|else\\)\\>")
 (defconst pascal-autoindent-lines-re