diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-14 13:41:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-14 13:41:34 +0200 |
commit | 2898ebb44cee62a70a11b44a97bdad8cc00157b1 (patch) | |
tree | fc09d7b7b0ad688555c85c8f0e07fae117e51b1b /src/eval.c | |
parent | a099da357248b48e0a78bc5675c5dd222b557bf1 (diff) |
patch 8.1.1686: "*" of "*{" is recognized as multipy operatorv8.1.1686
Problem: "*" of "*{" is recognized as multipy operator. (Yasuhiro Matsumoto)
Solution: Check for the "{".
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 20cec169bf..8c065f26e5 100644 --- a/src/eval.c +++ b/src/eval.c @@ -4266,7 +4266,7 @@ eval6( for (;;) { op = **arg; - if (op != '*' && op != '/' && op != '%') + if ((op != '*' || (*arg)[1] == '{') && op != '/' && op != '%') break; if (evaluate) |