From 218272b7e0a229cf5b0b775fdeda73e4f5300a91 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 13 Mar 2012 23:47:13 +0000 Subject: [PATCH] IDE: read lpk: allow lower than in attribute value to read old lpk git-svn-id: trunk@35957 - --- packager/pkgmanager.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packager/pkgmanager.pas b/packager/pkgmanager.pas index c8b46dee1a..098a236ad4 100644 --- a/packager/pkgmanager.pas +++ b/packager/pkgmanager.pas @@ -48,7 +48,7 @@ uses contnrs, StringHashList, Translations, LResources, // codetools CodeToolsConfig, CodeToolManager, CodeCache, CodeToolsStructs, BasicCodeTools, - FileProcs, Laz2_XMLCfg, + FileProcs, Laz2_XMLCfg, laz2_XMLRead, // IDE Interface SrcEditorIntf, NewItemIntf, ProjectIntf, PackageIntf, CompOptsIntf, MenuIntf, IDEWindowIntf, PropEdits, MacroIntf, LazIDEIntf, @@ -2233,6 +2233,7 @@ begin try XMLConfig:=TCodeBufXMLConfig.Create(nil); try + XMLConfig.ReadFlags:=XMLConfig.ReadFlags+[xrfAllowLowerThanInAttributeValue]; APackage.Filename:=AFilename; Result:=LoadXMLConfigFromCodeBuffer(AFilename,XMLConfig, Code,[lbfUpdateFromDisk,lbfRevert],ShowAbort);