patch 8.2.1653: expand('<stack>') does not include the final line number
Problem: Expand('<stack>') does not include the final line number.
Solution: Add the line nuber. (closes #6927)
diff --git a/src/vim.h b/src/vim.h
index 7bcc488..60a565b 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2097,8 +2097,7 @@
# define USE_PRINTF_FORMAT_ATTRIBUTE
#endif
-typedef enum
-{
+typedef enum {
ASSERT_EQUAL,
ASSERT_NOTEQUAL,
ASSERT_MATCH,
@@ -2128,6 +2127,13 @@
USEPOPUP_HIDDEN // use info popup initially hidden
} use_popup_T;
+// Argument for estack_sfile().
+typedef enum {
+ ESTACK_NONE,
+ ESTACK_SFILE,
+ ESTACK_STACK
+} estack_arg_T;
+
// Flags for assignment functions.
#define LET_IS_CONST 1 // ":const"
#define LET_NO_COMMAND 2 // "var = expr" without ":let" or ":const"