summaryrefslogtreecommitdiff
path: root/src/proto/eval.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-17 21:04:16 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-17 21:04:16 +0200
commit9cfe8f6e68de4bfb5942d84f4465de914a747b3f (patch)
tree8931b5937762d4e85541ebb2bad68cc0bcc25816 /src/proto/eval.pro
parentffc0716af8e448ef8a2a3249edfd0260546933df (diff)
downloadvim-git-9cfe8f6e68de4bfb5942d84f4465de914a747b3f.tar.gz
patch 8.1.1878: negative float before method not parsed correctlyv8.1.1878
Problem: Negative float before method not parsed correctly. Solution: Apply "!" and "-" in front of expression before using ->.
Diffstat (limited to 'src/proto/eval.pro')
-rw-r--r--src/proto/eval.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro
index 6074c4ee2..680b13184 100644
--- a/src/proto/eval.pro
+++ b/src/proto/eval.pro
@@ -85,7 +85,7 @@ char_u *v_exception(char_u *oldval);
char_u *v_throwpoint(char_u *oldval);
char_u *set_cmdarg(exarg_T *eap, char_u *oldarg);
int get_var_tv(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int verbose, int no_autoload);
-int handle_subscript(char_u **arg, typval_T *rettv, int evaluate, int verbose);
+int handle_subscript(char_u **arg, typval_T *rettv, int evaluate, int verbose, char_u *start_leader, char_u **end_leaderp);
typval_T *alloc_tv(void);
void free_tv(typval_T *varp);
void clear_tv(typval_T *varp);