Mercurial > vim
view src/tee/Makefile @ 24816:1bed37e82c2e v8.2.2946
patch 8.2.2946: Vim9: substitute expression cannot be a List
Commit: https://github.com/vim/vim/commit/2752360646545a9ae4853d2d5ca91cdb07c14eea
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 5 21:36:19 2021 +0200
patch 8.2.2946: Vim9: substitute expression cannot be a List
Problem: Vim9: substitute expression cannot be a List in a :def function.
Solution: Use typval2string(). (closes https://github.com/vim/vim/issues/8330)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Jun 2021 21:45:02 +0200 |
parents | c2fbac867d9c |
children | ba9d53c7c509 |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce ifneq (sh.exe, $(SHELL)) DEL = rm -f else DEL = del endif tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - $(DEL) tee.o - $(DEL) tee.exe