branch: externals/sql-indent
commit 55061f082e8c32bb3344b99bd71a4cf1ed512f66
Author: Alex Harsanyi <[email protected]>
Commit: Alex Harsanyi <[email protected]>
Fix incorrect match for end keyword in sqlind-end-statement-regexp
---
sql-indent.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sql-indent.el b/sql-indent.el
index 5cddb8d..9720a88 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -337,7 +337,7 @@ But don't go before LIMIT."
;;;;; Find the syntax and beginning of the current block
(defconst sqlind-end-statement-regexp
- "\\_<end_\\>\\(?:[ \n\r\t]*\\)\\(if\\_>\\|loop\\_>\\|case\\_>\\)?\\(?:[
\n\r\f]*\\)\\([a-z0-9_]+\\)?"
+ "\\_<end\\_>\\(?:[ \n\r\t]*\\)\\(if\\_>\\|loop\\_>\\|case\\_>\\)?\\(?:[
\n\r\f]*\\)\\([a-z0-9_]+\\)?"
"Match an end of statement.
Matches a string like \"end if|loop|case MAYBE-LABEL\".")