POV-Ray / povray

The Persistence of Vision Raytracer: http://www.povray.org/
GNU Affero General Public License v3.0
1.35k stars 282 forks source link

Cannot use `Declare` INI setting to declare empty string #430

Open c-lipka opened 3 years ago

c-lipka commented 3 years ago

When using the (undocumented) string form of the Declare INI setting (using e.g. Declare='Foo=""'), the variable in question will be defined as ", rather than an empty string.

wfpokorny commented 3 years ago

On Ubuntu 20.04 found this to be true of both the ini and command line declare settings. Aside: The parsing code is somewhat different between the command line and ini declare approaches.

For more see:

http://news.povray.org/povray.unix/thread/%3C6107dba8%241%40news.povray.org%3E/

http://news.povray.org/6107dba8$1@news.povray.org