Branch: Tag:

2013-11-03

2013-11-03 15:52:59 by Per Hedbor <ph@opera.com>

master()->predefines can now contain non-string values

Actually, they could always include at least 0, indicating no value,
just a define. But a new addition is the possibility of them being
callables. For now, simply ignore those

456:    if(options && options->add_predefines)    {    foreach (master()->predefines; string key; string value) +  if( stringp( value ) )    res+=({"-D" + key + "=" + value}); -  +  else if( intp( value ) ) +  res+=({"-D" + key });    }    if(options && options->add_program_path)    {