public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* subtle weirdness when you combine "_append" with "+="?
@ 2016-08-16 14:02 Robert P. J. Day
  2016-08-16 14:46 ` Ulf Magnusson
  0 siblings, 1 reply; 8+ messages in thread
From: Robert P. J. Day @ 2016-08-16 14:02 UTC (permalink / raw)
  To: OE Core mailing list


  was about to submit a small number of patches to clean up redundancy
when people combine "_append" with "+=" (because it offends my
delicate sensibilities), and ran across this in oe-core,
unfs3_0.9.22.r497.bb:

  DEPENDS_append_class-nativesdk += "flex-nativesdk"

uh, what?

  most of the time, i assume the above doesn't hurt, it's just ...
silly. but normally, with "_append", you *need* to add the leading
space explicitly, and that's not being done above. so does that mean
that combining "_append" with "+=" *does* generate a leading space?
that just makes my head hurt -- the possibility that "_append" is
being used in a way that normally makes it fail, only to have "+="
step in and save the day. at which point "_append" saves processing
that until the end of parsing? yeesh.

  thoughts?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-08-17 14:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 14:02 subtle weirdness when you combine "_append" with "+="? Robert P. J. Day
2016-08-16 14:46 ` Ulf Magnusson
2016-08-16 15:49   ` Robert P. J. Day
2016-08-16 15:56     ` Ulf Magnusson
2016-08-16 16:39       ` Khem Raj
2016-08-17 13:21         ` Robert P. J. Day
2016-08-17 14:14           ` Ulf Magnusson
2016-08-17 14:23             ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox