Newsgroups: comp.os.minix Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!dsuvax!ghelmer From: ghelmer@dsuvax.uucp (Guy Helmer) Subject: Re: cpp Message-ID: <1991Jun5.213418.23987@dsuvax.uucp> Organization: Dakota State University References: <33354@usc> Date: Wed, 5 Jun 1991 21:34:18 GMT In <33354@usc> kjh@pollux.usc.edu (Kenneth J. Hendrickson) writes: >I got a port of gnu-cpp from earlier this year when Guy Helmer posted >it. This also compiles just fine with bcc, but it also gags a little >bit on those *.x files in the kernel. I wondered when someone would notice :-(. C preprocessors, or at least ANSI ones, must know about literal strings and characters in the input. There are comments in the .x files that have apostraphes in them, and this C preprocessor doesn't appreciate apostraphes anywhere in the input unless they are enclosed in C-style /* comments. */ My solution: I took all the apostraphes out of the .x files. Unfortunately, I neglected to mention it when I posted the C preprocessor. >Where can I get a working cpp? What modifications do I need to do so it >will work on all those *.x files? What's the big secret? >I've been bashing my head against the wall all night. It's 6:00 am >local time. I'm going to bed. I hope that when I get up some nice >person will have left some mail in my mailbox. Thank you. Hope this helps. >-- >favourite oxymorons: student athlete, military justice, mercy killing >Ken Hendrickson N8DGN/6 kjh@usc.edu ...!uunet!usc!pollux!kjh -- Guy Helmer, Dakota State University Computing Services helmer@sdnet.bitnet, dsuvax!ghelmer@wunoc.wustl.edu, ghelmer@dsuvax.dsu.edu "Everybody need a soft filter / Everybody need reverse polarity" - Rush