Mercurial > vim
comparison src/ex_eval.c @ 17620:072efa9ca875 v8.1.1807
patch 8.1.1807: more functions can be used as a method
commit https://github.com/vim/vim/commit/25e42231d3ee27feec2568fa4be2aa2bfba82ae5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 4 15:04:10 2019 +0200
patch 8.1.1807: more functions can be used as a method
Problem: More functions can be used as a method.
Solution: Add append(), appendbufline(), assert_equal(), etc.
Also add the :eval command.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Aug 2019 15:15:06 +0200 |
parents | ce04ebdf26b8 |
children | 0f7ae8010787 |
comparison
equal
deleted
inserted
replaced
17619:f9976baad617 | 17620:072efa9ca875 |
---|---|
867 if (debug_break_level <= 0) | 867 if (debug_break_level <= 0) |
868 verbose_leave(); | 868 verbose_leave(); |
869 } | 869 } |
870 } | 870 } |
871 | 871 |
872 | |
873 /* | |
874 * ":eval". | |
875 */ | |
876 void | |
877 ex_eval(exarg_T *eap) | |
878 { | |
879 typval_T tv; | |
880 | |
881 if (eval0(eap->arg, &tv, &eap->nextcmd, !eap->skip) == OK) | |
882 clear_tv(&tv); | |
883 } | |
872 | 884 |
873 /* | 885 /* |
874 * ":if". | 886 * ":if". |
875 */ | 887 */ |
876 void | 888 void |