mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 07:39:26 +02:00
fixed 64bit compilation
git-svn-id: trunk@9771 -
This commit is contained in:
parent
d05adb23c1
commit
a8acc7c8ca
@ -426,7 +426,7 @@ type
|
||||
IdentifierTool: TFindDeclarationTool;
|
||||
FoundProc: PFoundProc;
|
||||
end;
|
||||
|
||||
|
||||
{ TFindDeclarationParams }
|
||||
|
||||
TFindDeclarationParams = class(TObject)
|
||||
|
@ -927,8 +927,8 @@ function RegExprSubExpressions (const ARegExpr : string;
|
||||
|
||||
// check if entire r.e. added
|
||||
if (ASubExprs.Count = 0)
|
||||
or ((integer (ASubExprs.Objects [0]) and $FFFF) <> 1)
|
||||
or (((integer (ASubExprs.Objects [0]) ShR 16) and $FFFF) <> Len)
|
||||
or ((PtrInt (ASubExprs.Objects [0]) and $FFFF) <> 1)
|
||||
or (((PtrInt (ASubExprs.Objects [0]) ShR 16) and $FFFF) <> Len)
|
||||
// whole r.e. wasn't added because it isn't bracketed
|
||||
// well, we add it now:
|
||||
then ASubExprs.InsertObject (0, ARegExpr, TObject ((Len ShL 16) or 1));
|
||||
|
Loading…
Reference in New Issue
Block a user