mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-09 18:51:50 +02:00
* use svalue to compare with -1
git-svn-id: trunk@9519 -
This commit is contained in:
parent
01592d7b5d
commit
13ca601510
@ -458,7 +458,7 @@ implementation
|
|||||||
result := left.getcopy;
|
result := left.getcopy;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else if tordconstnode(right).value = -1 then
|
else if tordconstnode(right).value.svalue = -1 then
|
||||||
begin
|
begin
|
||||||
case nodetype of
|
case nodetype of
|
||||||
muln:
|
muln:
|
||||||
@ -488,7 +488,7 @@ implementation
|
|||||||
result := right.getcopy;
|
result := right.getcopy;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else if tordconstnode(left).value = -1 then
|
else if tordconstnode(left).value.svalue = -1 then
|
||||||
begin
|
begin
|
||||||
case nodetype of
|
case nodetype of
|
||||||
muln:
|
muln:
|
||||||
|
Loading…
Reference in New Issue
Block a user