> if (c == '0x3b' || c == '0x3a' || c == '0x2c')
if (c == 0x3b || c == 0x3a || c == 0x2c)
would have done, I think. using ' ' means a Character, not a hex number...
Regards Thorsten Happel
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/fa
[EMAIL PROTECTED] wrote:
> char c;
>
> if (c == ',' || c == ':' || c == ':')
>
> as it always passes as true. Then it folds the line in some
> specious way
> and I lose three letters. I did try going to the hex code
>
> if (c == '0x3b' || c == '0x3a' || c == '0x2c')
>
> and gcc got really an
For the amusement of all concerned I attach indent5.c which is lying
around here at the moment. I'm actually busy and don't have a lot of
time to fart with it. This is a debugging and elaboration of David Fix's
indent program offered here earlier by a self confessed C illiterate.
This is more or l