summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-15 13:49:42 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-15 13:49:42 +0200
commitdd9de50f4262898384be6ea7694d05507c7cb260 (patch)
tree7065a785ee6bd7f1a9dd30ff09bf800aa6bd9699 /src/proto
parent2596a4e763e11eb8e406f262cb72fd2b39461572 (diff)
downloadvim-git-dd9de50f4262898384be6ea7694d05507c7cb260.tar.gz
patch 8.2.3347: check for legacy script is incompletev8.2.3347
Problem: Check for legacy script is incomplete. (Naohiro Ono) Solution: Also check the :legacy modifier. Use for string concatenation with "." and others (issue #8756)
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/vim9script.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/vim9script.pro b/src/proto/vim9script.pro
index 1b73e87bb..97c1c92ad 100644
--- a/src/proto/vim9script.pro
+++ b/src/proto/vim9script.pro
@@ -1,5 +1,6 @@
/* vim9script.c */
int in_vim9script(void);
+int in_old_script(int max_version);
int current_script_is_vim9(void);
void ex_vim9script(exarg_T *eap);
int not_in_vim9(exarg_T *eap);