• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Token Concatation in Info.plist Files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Token Concatation in Info.plist Files?


  • Subject: Token Concatation in Info.plist Files?
  • From: Andreas Wittenstein <email@hidden>
  • Date: Sun, 4 Feb 2007 19:01:18 -0800

If I check the 'Preprocess Info.plist File' box for a target, then '#include', '#define', '#if' work correctly. That's a great convenience. Token stringification works too.

But token concatenation doesn't work. For example,

	#define kPrefix a
	#define kSuffix b

	kPrefix##kSuffix
	kPrefix ## kSuffix

expands to

	a##b
	a ## b

instead of

	ab
	ab

Andreas Wittenstein
BitJazz Inc.
http://www.bitjazz.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Token Concatation in Info.plist Files?
      • From: Douglas Norton <email@hidden>
  • Prev by Date: Re: Darwin: Weird call to structure constructor in formatter.h
  • Next by Date: Re: Token Concatation in Info.plist Files?
  • Previous by thread: Re: Darwin: Weird call to structure constructor in formatter.h
  • Next by thread: Re: Token Concatation in Info.plist Files?
  • Index(es):
    • Date
    • Thread