public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Baffled yet again by CDL
@ 2012-03-21 20:31 Grant Edwards
  2012-03-21 21:20 ` Jay Foster
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Edwards @ 2012-03-21 20:31 UTC (permalink / raw)
  To: ecos-discuss

How do I get a quoted string as a default value for a CDL option?


If I put

  default_value {"Foobar"}

I get this:

  #define CYG_WHATEVER Foobar

But when user_value like this

  user_value {"Foobar"}

Then I get this:

  #define CYG_WHATEVER "Foobar"

Why do they behave differently?  How do I get the latter result with a
default value?  [This reminds me yet again why I loathe TCL]

-- 
Grant Edwards               grant.b.edwards        Yow! I Know A Joke!!
                                  at               
                              gmail.com            


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2012-03-22 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 20:31 [ECOS] Baffled yet again by CDL Grant Edwards
2012-03-21 21:20 ` Jay Foster
2012-03-21 22:18   ` [ECOS] " Grant Edwards
2012-03-22  7:43     ` Sergei Gavrikov
2012-03-22 16:55       ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).