Thanks to everyone for your support and patience in resolving this issue

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Bram Moolenaar
Sent: Saturday, December 17, 2011 12:49 PM
To: Ralf Schandl
Cc: [email protected]
Subject: Re: ERROR CCN3052 ./normal.c:8344 Duplicate case label for value 163. 
Labels must be unique.


Ralf Schandl wrote:

> 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.

Right, for EBCDIC POUND should be defined to 0xb1.  If we define it as '#' then 
the condition in normal.c will cause it not to be used.
We do want to support '£' as well.

--
Apologies for taking up the bandwidth with the apology.  Anything else I can 
apologise for ...... er no can't think of anything, sorry about that.
                Andy Hunt (Member of British Olympic Apology Squad)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
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 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

Raspunde prin e-mail lui