Mercurial > vim
view src/tee/Makefile @ 23318:c76240efdf02 v8.2.2204
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing
Commit: https://github.com/vim/vim/commit/65c4415276394c871c7a8711c7633c19ec9235b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 24 15:14:01 2020 +0100
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing
Problem: Vim9: using -> both for method and lambda is confusing.
Solution: Use => for lambda in :def function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Dec 2020 15:15:05 +0100 |
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