From fe171fa2321d47c924e0ab14eb797cc3843cac61 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 18 Dec 2003 23:47:03 +0000 Subject: [PATCH] added classes incpath git-svn-id: trunk@4906 - --- components/codetools/definetemplates.pas | 1 + components/codetools/laz_xmlread.pas | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/codetools/definetemplates.pas b/components/codetools/definetemplates.pas index d15d1e89c5..d7e7900071 100644 --- a/components/codetools/definetemplates.pas +++ b/components/codetools/definetemplates.pas @@ -3159,6 +3159,7 @@ begin s:=IncPathMacro +';'+Dir+'rtl'+DS+'objpas'+DS +';'+Dir+'rtl'+DS+'objpas'+DS+'sysutils' + +';'+Dir+'rtl'+DS+'objpas'+DS+'classes' +';'+Dir+'rtl'+DS+'inc'+DS; if (TargetOS<>'') and (TargetOS<>SrcOS) then s:=s+';'+Dir+'rtl'+DS+TargetOS+DS; diff --git a/components/codetools/laz_xmlread.pas b/components/codetools/laz_xmlread.pas index 745afd92b4..f85d257d11 100644 --- a/components/codetools/laz_xmlread.pas +++ b/components/codetools/laz_xmlread.pas @@ -1261,7 +1261,7 @@ begin GetMem(buf, f.Size + 1); f.Read(buf^, f.Size); buf[f.Size] := #0; - + reader := TXMLReader.Create; reader.ProcessXML(buf, AFilename); FreeMem(buf, f.Size + 1); @@ -1363,6 +1363,9 @@ end. { $Log$ + Revision 1.9 2003/12/18 23:47:03 mattias + added classes incpath + Revision 1.8 2002/12/16 12:12:50 mattias fixes for fpc 1.1