|
|
On 2/7/19 10:33 AM, clipka wrote:
> Am 07.02.2019 um 15:56 schrieb William F Pokorny:
....
>
> There are two ways to address this issue:
>
> (1) Educate users that includes should be placed before any `default`
> statement.
>
> (2) Update the include files (which btw. won't be delivered before the
> beta phase).
>
> Another approach to reduce the number of such warnings might be to not
> trigger them when a `#version` statement is encountered, but only when
> defaults are actually accessed; but that would be some work in the parser.
>
Most desirable I suppose, but yeah. (1) & (2) Perhaps good enough in
practice.
>
> (BTW, I have an aversion to the `#default` notation, and think `default`
> - without the `#` - should be considered the canonical one; the reason
> being that I think the concept of default values is more at home among
> the "raw" descriptive portions of the SDL, than the slapped-on
> imperative programming portion that is the set of `#` directives.)
Thanks & I agree! It's never registered with me default {} was OK
syntax. Should we update:
http://wiki.povray.org/content/Reference:Default_Directive
?
Bill P.
Post a reply to this message
|
|