diff options
author | Brad King <brad.king@kitware.com> | 2006-09-23 16:32:34 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-09-23 16:32:34 -0400 |
commit | 1c429da781083751902fe24e9e1f6ed9ff4ca9e5 (patch) | |
tree | 913f2302df0cd1f24de44bfdacd582f4ef61f2c8 /Docs | |
parent | c9fd17b884780d7704500ee6d4f1517649b1e498 (diff) | |
download | cmake-1c429da781083751902fe24e9e1f6ed9ff4ca9e5.tar.gz |
ENH: Adding elseif indentation. See bug#3781.
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/cmake-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el index 160f0ecb52..a32f02b6dc 100644 --- a/Docs/cmake-mode.el +++ b/Docs/cmake-mode.el @@ -55,9 +55,9 @@ "\\|" "[ \t\r\n]" "\\)*")) (defconst cmake-regex-block-open - "^\\(IF\\|MACRO\\|FOREACH\\|ELSE\\|WHILE\\)$") + "^\\(IF\\|MACRO\\|FOREACH\\|ELSE\\|ELSEIF\\|WHILE\\)$") (defconst cmake-regex-block-close - "^[ \t]*\\(ENDIF\\|ENDFOREACH\\|ENDMACRO\\|ELSE\\|ENDWHILE\\)[ \t]*(") + "^[ \t]*\\(ENDIF\\|ENDFOREACH\\|ENDMACRO\\|ELSE\\|ELSEIF\\|ENDWHILE\\)[ \t]*(") ;------------------------------------------------------------------------------ |