You've already forked lazarus-ccr
fpspreadsheet: Reactivate the expression parser test cases which were commented (and forgotten) some time ago. Activate missing argument tests. Add some "exotic" formulas. All passed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1518,7 +1518,9 @@ begin
|
||||
(Pos('<', AppoSt) = 1) or
|
||||
(Pos('>', AppoSt) = 1) or
|
||||
(Pos('"', AppoSt) = 1) or
|
||||
(Pos(''', AppoSt) = 1) then begin
|
||||
(Pos(''', AppoSt) = 1) or
|
||||
(Pos('%', AppoSt) = 1) // %
|
||||
then begin
|
||||
//'&' is the first char of a special chat, it must not be converted
|
||||
WrkStr:=WrkStr + AText[Idx];
|
||||
end else begin
|
||||
@ -1529,6 +1531,7 @@ begin
|
||||
'>': WrkStr:=WrkStr + '>';
|
||||
'"': WrkStr:=WrkStr + '"';
|
||||
'''':WrkStr:=WrkStr + ''';
|
||||
'%': WrkStr:=WrkStr + '%';
|
||||
{
|
||||
#10: WrkStr := WrkStr + ' ';
|
||||
#13: WrkStr := WrkStr + ' ';
|
||||
|
Reference in New Issue
Block a user