Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: baynes@ukpsshp1.serigate.philips.nl (Stephen Baynes)
Subject: Re: cc bugs?
Date: 1996/07/22	[thread overview]
Message-ID: <DuxrAq.BJI@ukpsshp1.serigate.philips.nl> (raw)
In-Reply-To: NEWTNews.837886978.30140.anonymous@cafe4.softconn.co.za

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]


philips@jse.co.za wrote:


: The second is that the compiler does not recognise hex
: chars. It was leathfull because I had it in a test
: for characters below space which cause a lookup on a
: table to core dump.

: 	if ( khar < 'x20)
: 		tbl[khar].xxxx

I am suprised that compiled at all.
Try
 	if ( khar < '\x20')
 		tbl[khar].xxxx


--
Stephen Baynes                              baynes@ukpsshp1.serigate.philips.nl
Philips Semiconductors Ltd
Southampton                                 My views are my own.
United Kingdom
 Are you using ISO8859-1? Do you see � as copyright, � as division and � as 1/2?



      parent reply	other threads:[~1996-07-22  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-20  4:00 cc bugs? philips
1996-07-22  4:00 ` Joe Mario
     [not found]   ` <31F4A4BE.6201@iisc.com>
1996-07-23  4:00     ` Stephen Baynes
1996-07-23  4:00       ` Charles M Richmond
1996-07-25  4:00         ` Dan Pop
1996-07-22  4:00 ` Stephen Baynes [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox