Re: [Doxygen-develop] Problem with default values
Brought to you by:
dimitri
From: Robert D. <rcd...@gm...> - 2013-06-03 21:01:41
|
Thanks for the information guys, I'm still learning the code base. I submitted a patch here to add some new config variables: https://bugzilla.gnome.org/show_bug.cgi?id=701550 However, I need to re-post the patch with changes to the XML file instead. Will the VS9 project re-generate the file for me? Please let me know what else I'm doing wrong in the patch so I can correct it. Thanks again guys. On Mon, Jun 3, 2013 at 3:51 PM, Doxygen <do...@gm...> wrote: > Hi Robert, > > On 3 jun. 2013, at 22:33, Robert Dailey <rcd...@gm...> wrote: > >> Hi, >> >> I'm adding some new config options to Doxygen. Here is my code: >> >> >> cs = cfg->addString( >> "WARN_STRING", >> "The string that is prefixed to each warning that >> will be printed." >> ); >> cs->setDefaultValue("Warning: "); > > Please add new options to config.xml not to configoptions.cpp which is generated from it. > >> >> Notice I have a trailing space after the colon for the default value. >> I noticed that after ConfigString::substEnvVars() is called, this >> space is removed. I'd like to be able to keep the spaces in the >> default value. How can I do this? > > I guess we should fix substEnvVars not to strip the space... > > Regards, > Dimitri > |