Mercurial > vim
view src/proto/if_mzsch.pro @ 22196:d835f2fdfcfc v8.2.1647
patch 8.2.1647: Vim9: result of expression with && and || is not a bool
Commit: https://github.com/vim/vim/commit/4ed124cc6c0c55385c3b2fed9f9357baf42edbcc
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 9 20:03:46 2020 +0200
patch 8.2.1647: Vim9: result of expression with && and || is not a bool
Problem: Vim9: result of expression with && and || cannot be assigned to a
bool variable.
Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Sep 2020 20:15:03 +0200 |
parents | 4cb5ab124239 |
children | ca6bc7c04163 |
line wrap: on
line source
/* if_mzsch.c */ int mzscheme_enabled(int verbose); void mzvim_check_threads(void); void mzvim_reset_timer(void); void mzscheme_end(void); int mzscheme_main(void); void mzscheme_buffer_free(buf_T *buf); void mzscheme_window_free(win_T *win); void ex_mzscheme(exarg_T *eap); void ex_mzfile(exarg_T *eap); void do_mzeval(char_u *str, typval_T *rettv); void raise_vim_exn(const char *add_info); void raise_if_error(void); buf_T *get_valid_buffer(void *obj); win_T *get_valid_window(void *obj); int mzthreads_allowed(void); /* vim: set ft=c : */