[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 annoyed with me - it always passes as false, it > appears wrong syntax?
Well... Look closer at that line. :) It should be this: if (c == ',' || c == ':' || c == ';') Simply because you had two colons in there instead of one colon and one semicolon. :) Dave -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page