this seems linked to hexadecimal numbers:
the parser considers characters 'a' to 'f' as part of decimal numbers,
while the highlighter seems to start a hexadecimal number on any digit followed by 'x':
(I think the first issue is not unknown to tweetjammers)
edit: obviously I overlooked the exponent,
- parsing x=5e=2 rightly yields a "malformed number"
- 5e2 is wrongly highlighted (only '5' ends up in blue)
P#29257 2016-09-24 09:03 ( Edited 2016-09-24 16:21)
Note that the first “issue” is consistent with official Lua behaviour, so I wouldn’t call it “wrong parsing”.
P#29258 2016-09-24 09:33 ( Edited 2016-09-24 13:33)
fair enough. that would be "wrong parsing on the part of official lua" then.
P#29259 2016-09-24 10:19 ( Edited 2016-09-24 14:19)
dw: the only hexadecimals in the screenshot are the two bottom lines.
the lines above are about wrongly parsed decimals.
P#29282 2016-09-24 12:21 ( Edited 2016-09-24 16:21)
[Please log in to post a comment]