Coloring is wrong if enumeration member contains characters, used for DATE and TIME vars (limited character set).
The following example demonstrates the issue:
( 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.
Log in to post a comment.