You've already forked lazarus-ccr
fpspreadsheet: Fix range overflow if formula contains integers > 65535
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4619 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1601,12 +1601,10 @@ begin
|
||||
if TryStrToInt64(CurrentToken, I) then
|
||||
Result := TsConstExprNode.CreateInteger(self, I)
|
||||
else
|
||||
begin
|
||||
if TryStrToFloat(CurrentToken, X, FFormatSettings) then
|
||||
Result := TsConstExprNode.CreateFloat(self, X)
|
||||
else
|
||||
ParserError(Format(rsInvalidFloat, [CurrentToken]));
|
||||
end;
|
||||
if TryStrToFloat(CurrentToken, X, FFormatSettings) then
|
||||
Result := TsConstExprNode.CreateFloat(self, X)
|
||||
else
|
||||
ParserError(Format(rsInvalidFloat, [CurrentToken]));
|
||||
end
|
||||
else if (TokenType = ttTrue) then
|
||||
Result := TsConstExprNode.CreateBoolean(self, true)
|
||||
|
Reference in New Issue
Block a user