On Wed, 27 Jan 2010 17:32:09 +0100, Bram Moolenaar wrote:

> Patch 7.2.347
> Problem:    Crash when executing <expr> mapping redefines that same mapping.
> Solution:   Save the values used before evaluating the expression.
> Files:            src/getchar.c

I can't compile this patch using Windows BCC 5.0 or Linux GCC 3.2 with a
#ifdef inside a macro :

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
.\getchar.c:
Error E2206 .\getchar.c 2503: Illegal character '#' (0x23) in function 
vgetorpeek
Error E2451 .\getchar.c 2503: Undefined symbol 'ifdef' in function vgetorpeek
Error E2293 .\getchar.c 2503: ) expected in function vgetorpeek
Error E2206 .\getchar.c 2503: Illegal character '#' (0x23) in function
vgetorpee
k
*** 4 errors in Compile ***

Attached patch fixes this.
-- 
Patrick Texier

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Attachment: fix347.patch
Description: Binary data

Raspunde prin e-mail lui