Mercurial > vim
comparison src/proto/typval.pro @ 28718:723c7d940cba
patch 8.2.4883: string interpolation only works in heredoc
Commit: https://github.com/vim/vim/commit/2eaef106e4a7fc9dc74a7e672b5f550ec1f9786e
Author: LemonBoy <thatlemon@gmail.com>
Date: Fri May 6 13:14:50 2022 +0100
patch 8.2.4883: string interpolation only works in heredoc
Problem: String interpolation only works in heredoc.
Solution: Support interpolated strings. Use syntax for heredoc consistent
with strings, similar to C#. (closes #10327)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 14:15:03 +0200 |
parents | 38f7a132bba3 |
children | 3626ca6a20ea |
comparison
equal
deleted
inserted
replaced
28717:3953457538c9 | 28718:723c7d940cba |
---|---|
70 int eval_number(char_u **arg, typval_T *rettv, int evaluate, int want_string); | 70 int eval_number(char_u **arg, typval_T *rettv, int evaluate, int want_string); |
71 int eval_string(char_u **arg, typval_T *rettv, int evaluate); | 71 int eval_string(char_u **arg, typval_T *rettv, int evaluate); |
72 int eval_lit_string(char_u **arg, typval_T *rettv, int evaluate); | 72 int eval_lit_string(char_u **arg, typval_T *rettv, int evaluate); |
73 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); | 73 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); |
74 int eval_env_var(char_u **arg, typval_T *rettv, int evaluate); | 74 int eval_env_var(char_u **arg, typval_T *rettv, int evaluate); |
75 int eval_interp_string(char_u **arg, typval_T *rettv, int evaluate); | |
75 linenr_T tv_get_lnum(typval_T *argvars); | 76 linenr_T tv_get_lnum(typval_T *argvars); |
76 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf); | 77 linenr_T tv_get_lnum_buf(typval_T *argvars, buf_T *buf); |
77 buf_T *tv_get_buf(typval_T *tv, int curtab_only); | 78 buf_T *tv_get_buf(typval_T *tv, int curtab_only); |
78 buf_T *tv_get_buf_from_arg(typval_T *tv); | 79 buf_T *tv_get_buf_from_arg(typval_T *tv); |
79 /* vim: set ft=c : */ | 80 /* vim: set ft=c : */ |