home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!smurf.sub.org!easix!ibg1!ado
- From: ado@ibg1.ibg.sub.org (Christoph Adomeit)
- Subject: cpp fails in statements like pkg'foo(DEFINE)
- Organization: ibg
- Date: Tue, 17 Nov 1992 20:34:28 GMT
- Message-ID: <BxvntG.61x@ibg1.ibg.sub.org>
- Lines: 10
-
- Hi folks,
- what is the golden way to prevent cpp from interpreting
- a statement like
- #define DEFINE 99
- pkg'foo(DEFINE)
- as a part of a string literal ?
- In the above examples DEFINE is not replaced by "99" because
- cpp thinks it's a string literal.
- --
- Origin: It's not a bug, it's a feature !
-