mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
ENH: Adding elseif indentation. See bug#3781.
This commit is contained in:
+2
-2
@@ -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]*(")
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user