|
|
When the POV-Team release the src for 3.5 could they make sure the
following message (or something to that end) is placed in parse.h just
before the token enumeration and perhaps in tokenize.c before the
Reserved_Words array
/************************************************************
If you add several keywords that use the same token value make sure that
you add
1 token for each keyword* otherwise you will get a "too many
initalisers" compile error.
*all but one of these will be unused
eg. different spellings of words - colour/color
parse.h tokenize.c
COLOR_TOKEN //unused {COLOUR_TOKEN, "color"},
COLOUR_TOKEN {COLOUR_TOKEN, "colour"},
************************************************************/
The reason being that this error can be confusing & it took me a couple
of hrs to work it out >: < duh-huh
Also for the win32 version the codemax control could use the
Reserved_Words array to do syntax highlighting for all patches of
POV-Ray automatically
Post a reply to this message
|
|