|
![](/i/fill.gif) |
"Randall Sawyer" <sra### [at] yahoo com> wrote:
> Currently, authors of POV-Ray files manage naming collisions themselves.
> They know the identifiers declared in their include files as well as the
> ones they write themselves. Let's not try to fix what isn't broken.
ok.
> Modify the parser in such a way that it assembles each include file as it
> goes.
Sounds a lot like prefixing each declare in the include with a unique
identifier, perhaps chosen by us. ;)
> I cannot use names used in B1.inc or used in B2.inc.
You could use them freely if they were local to the files including them. ;)
Ok, now reasoning with your suggestion further, say i can now use the same
identifier declared in B1.inc for another object/texture/whatever. Great,
all fine and dandy. Now, what if i also want to use the original B1.inc
declared object under that identifier? How do i do that if the parser
mangled the name with some random string which i don't know of (automatic
naming collision management)?
That's not a problem with aliases i get to choose myself. Sometimes,
explicit is better than implicit...
this discussion should probably be better off under the Standards thread...
Post a reply to this message
|
![](/i/fill.gif) |