1
0
forked from aniani/vim

patch 9.1.0462: eval5() and eval7 are too complex

Problem:  eval5() and eval7 are too complex
Solution: Refactor eval5() and eval7() in eval.c
          (Yegappan Lakshmanan)

closes: #14900

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan
2024-06-03 18:52:22 +02:00
committed by Christian Brabandt
parent f51ff96532
commit 734286e4c6
3 changed files with 154 additions and 127 deletions

View File

@@ -439,8 +439,8 @@ check_script_symlink(int sid)
SCRIPT_ITEM(real_sid)->sn_import_autoload
= si->sn_import_autoload;
if (si->sn_autoload_prefix != NULL)
SCRIPT_ITEM(real_sid)->sn_autoload_prefix =
vim_strsave(si->sn_autoload_prefix);
SCRIPT_ITEM(real_sid)->sn_autoload_prefix =
vim_strsave(si->sn_autoload_prefix);
}
}
}