mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.1686: "*" of "*{" is recognized as multipy operator
Problem: "*" of "*{" is recognized as multipy operator. (Yasuhiro Matsumoto) Solution: Check for the "{".
This commit is contained in:
@@ -4266,7 +4266,7 @@ eval6(
|
||||
for (;;)
|
||||
{
|
||||
op = **arg;
|
||||
if (op != '*' && op != '/' && op != '%')
|
||||
if ((op != '*' || (*arg)[1] == '{') && op != '/' && op != '%')
|
||||
break;
|
||||
|
||||
if (evaluate)
|
||||
|
Reference in New Issue
Block a user