You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
procedure TmwBasePasLex.NumberProc;
begin
Inc(FBuffer.Run);
FTokenID := ptIntegerConst;
while CharInSet(FBuffer.Buf[FBuffer.Run], ['0'..'9', '.', 'e', 'E']) do
begin
case FBuffer.Buf[FBuffer.Run] of
'.':
if FBuffer.Buf[FBuffer.Run + 1] in ['.',')'] then //(. .) digraph
Break
else
FTokenID := ptFloat
end;
Inc(FBuffer.Run);
end;
end;
Will do a pull request if I find more issues.
JBontes
changed the title
array digraphs do not work with integer indexes
Array digraphs (. .) do not work with integer indexes
Apr 5, 2018
The following code will not process correctly
The
11
will be seen as a float number.The text was updated successfully, but these errors were encountered: