Coloring is wrong if enumeration member contains characters, used for DATE and TIME vars (limited character set).
The following example demonstrates the issue:
BYTE#16#BF
( correct coloring )
TYPE ENUM_TYPE: (ONE, TWO, THREE, FIVE); END_TYPE
VAR_INPUT ENUM_VALUE: ENUM_TYPE#FIVE; END_VAR
( wrong coloring for 'FIVE')
There is a lexer fix in attachment.
Committed as [b74b4a].
Related
Commit: [b74b4a]