On Fri, May 22, 2020 at 1:11 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Patch 8.2.0807
> Problem:    Cannot easily restore a mapping.
> Solution:   Add mapset().
> Files:      runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
>             src/testdir/test_maparg.vim

Missing #ifdef ? I get a fatal error in Small and Tiny, as follows:

linux-2iyu:~/.build/vim/vim-hg/src/shadow-tiny # (make || echo 'exit
status' $? ; date) 2>&1 |tee -a make.log
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fno-strength-reduce -Wall
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/evalfunc.o
evalfunc.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fno-strength-reduce -Wall
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/map.o map.c
map.c: In function ‘do_map’:
map.c:842:58: error: ‘expr’ undeclared (first use in this function);
did you mean ‘ex_z’?
  if (map_add(map_table, abbr_table, keys, rhs, orig_rhs, expr,
                                                          ^~~~
                                                          ex_z
map.c:842:58: note: each undeclared identifier is reported only once
for each function it appears in
make: *** [Makefile:3344: objects/map.o] Error 1
exit status 2
Fri 22 May 13:16:17 CEST 2020
linux-2iyu:~/.build/vim/vim-hg/src/shadow-tiny #



Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXsT0KzT2t-yT7P%2BwEKvsakR%2BeNTqFF1ZYP2b%2BttKkOHiw%40mail.gmail.com.

Raspunde prin e-mail lui