|
|
Hi!
Due to a question in p.newusers I had a look at the #version-management in
colors.inc. There is something odd:
The set version is saved in the variable Colors_Inc_Temp, but there is no
version set in the include-file until the end of the file, where the version
is set 'back' to Colors_Inc_Temp. That leads to problems, if the new
colors.inc is used while #version is set to something less than 3.1, because
there are some macros defined in colors.inc.
Wouldn't it be good to add a line
#version 3.5; (or 3.1 if that works)
after saving the present version?
I notice that there are no such directives in the other include files, but
why is the present version saved AND restored, if the version is not
switched to something else? (I know it is saved, for the check if the
include-file was already included.) At least some of the standard-include
files won't parse if the #version is set to less than 3.1 or 3.5, as they
contain macros or calls for internal functions (functions.inc).
Marc-Hendrik
Post a reply to this message
|
|