This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Baffled yet again by CDL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]