On 17/12/11 15:21, Bram Moolenaar wrote:
Stephen Bovy wrote:
Heck You are right on the money partner :) !!!!
Line 126 ascii.h>>>
#define POUND '\x7B'
Just changing the defenition of POUND from 0xA3 to 0x7B, without any of
the other changes, fixes the problem?
0x7B is equal to '{', does that cause new problems?
Bram,
x7B is EBCDIC code for '#'.
initially the definition was:
#ifndef EBCDIC
...
#define POUND 0x3A
...
#else
...
#define POUND '£'
...
#endif
If you then convert the source code to a EBCDIC it will result in the
EBCDIC pound sign. AFAIK the pound sign is xB1 in most EBCDIC codepages
(not true for e.g.: EBCDIC-Farsi, EBCDIC-Cyrillic).
With hg revision 3042 the pound character was replaced by '\xA3'. The
EBCDIC code xA3 is a 't'. Hence the duplicate case label.
If I understand right, the definition POUND is just there to allow to
use the pound sign for <search backward for word under cursor>. So it
might be okay to define POUND as '#' for a local build if you don't have
a UK keyboard layout.
Ralf
--
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