summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-24 15:29:14 +0100
committerErich Eckner <git@eckner.net>2017-11-24 15:29:14 +0100
commit1f087c26e5236eb8fdd0685e9ae75bc02d8d3c24 (patch)
treeccc4ec7ddd355a621d77e5c7fa9fd57ce83555ed
parent3c9b7073f95db84c234524e743dc5900bd30fa9b (diff)
downloadMake-1f087c26e5236eb8fdd0685e9ae75bc02d8d3c24.tar.xz
bugfix Lokalitätstest
-rw-r--r--Make.lps80
-rw-r--r--dateibeziehungen.pas7
2 files changed, 44 insertions, 43 deletions
diff --git a/Make.lps b/Make.lps
index 29c6750..7c5044e 100644
--- a/Make.lps
+++ b/Make.lps
@@ -9,22 +9,22 @@
<IsPartOfProject Value="True"/>
<TopLine Value="47"/>
<CursorPos X="16" Y="70"/>
- <UsageCount Value="92"/>
+ <UsageCount Value="93"/>
<Loaded Value="True"/>
</Unit0>
<Unit1>
<Filename Value="Machdatei.txt"/>
<IsPartOfProject Value="True"/>
- <UsageCount Value="92"/>
+ <UsageCount Value="93"/>
<DefaultSyntaxHighlighter Value="None"/>
</Unit1>
<Unit2>
<Filename Value="tools.pas"/>
<IsPartOfProject Value="True"/>
<EditorIndex Value="4"/>
- <TopLine Value="24"/>
- <CursorPos X="11" Y="41"/>
- <UsageCount Value="71"/>
+ <TopLine Value="189"/>
+ <CursorPos X="29" Y="190"/>
+ <UsageCount Value="72"/>
<Loaded Value="True"/>
</Unit2>
<Unit3>
@@ -33,7 +33,7 @@
<EditorIndex Value="2"/>
<TopLine Value="288"/>
<CursorPos X="14" Y="322"/>
- <UsageCount Value="68"/>
+ <UsageCount Value="69"/>
<Loaded Value="True"/>
</Unit3>
<Unit4>
@@ -42,10 +42,10 @@
<UnitName Value="dateiBeziehungen"/>
<IsVisibleTab Value="True"/>
<EditorIndex Value="1"/>
- <TopLine Value="1007"/>
- <CursorPos X="36" Y="1039"/>
+ <TopLine Value="1009"/>
+ <CursorPos X="41" Y="1036"/>
<FoldState Value=" T3k003C pjYkO0A3315"/>
- <UsageCount Value="60"/>
+ <UsageCount Value="61"/>
<Loaded Value="True"/>
</Unit4>
<Unit5>
@@ -134,122 +134,122 @@
<JumpHistory Count="30" HistoryIndex="29">
<Position1>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="542" Column="32" TopLine="530"/>
+ <Caret Line="1016" Column="13" TopLine="996"/>
</Position1>
<Position2>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="114" Column="28" TopLine="97"/>
+ <Caret Line="97" Column="5" TopLine="79"/>
</Position2>
<Position3>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="925" Column="27" TopLine="905"/>
+ <Caret Line="32" Column="3" TopLine="14"/>
</Position3>
<Position4>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="79" Column="26" TopLine="62"/>
+ <Caret Line="16" Column="3"/>
</Position4>
<Position5>
- <Filename Value="Make.lpr"/>
- <Caret Line="70" Column="16" TopLine="47"/>
+ <Filename Value="dateibeziehungen.pas"/>
+ <Caret Line="15" Column="54"/>
</Position5>
<Position6>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="115" Column="31" TopLine="99"/>
+ <Caret Line="14"/>
</Position6>
<Position7>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="1016" Column="13" TopLine="996"/>
+ <Caret Line="1013" Column="24" TopLine="995"/>
</Position7>
<Position8>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="97" Column="5" TopLine="79"/>
</Position8>
<Position9>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="32" Column="3" TopLine="14"/>
+ <Caret Line="14" Column="26"/>
</Position9>
<Position10>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="16" Column="3"/>
+ <Caret Line="32" Column="58" TopLine="3"/>
</Position10>
<Position11>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="15" Column="54"/>
+ <Caret Line="33" Column="63" TopLine="4"/>
</Position11>
<Position12>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="14"/>
+ <Caret Line="35" Column="58" TopLine="6"/>
</Position12>
<Position13>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="1013" Column="24" TopLine="995"/>
+ <Caret Line="40" Column="46" TopLine="11"/>
</Position13>
<Position14>
<Filename Value="dateibeziehungen.pas"/>
+ <Caret Line="41" Column="43" TopLine="12"/>
</Position14>
<Position15>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="14" Column="26"/>
+ <Caret Line="89" Column="27" TopLine="67"/>
</Position15>
<Position16>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="32" Column="58" TopLine="3"/>
+ <Caret Line="175" Column="80" TopLine="124"/>
</Position16>
<Position17>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="33" Column="63" TopLine="4"/>
+ <Caret Line="177" Column="34" TopLine="124"/>
</Position17>
<Position18>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="35" Column="58" TopLine="6"/>
+ <Caret Line="282" Column="39" TopLine="139"/>
</Position18>
<Position19>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="40" Column="46" TopLine="11"/>
+ <Caret Line="585" Column="35" TopLine="556"/>
</Position19>
<Position20>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="41" Column="43" TopLine="12"/>
+ <Caret Line="680" Column="23" TopLine="652"/>
</Position20>
<Position21>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="89" Column="27" TopLine="67"/>
+ <Caret Line="89" Column="18" TopLine="71"/>
</Position21>
<Position22>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="175" Column="80" TopLine="124"/>
+ <Caret Line="670" Column="38" TopLine="641"/>
</Position22>
<Position23>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="177" Column="34" TopLine="124"/>
+ <Caret Line="1042" Column="14" TopLine="1021"/>
</Position23>
<Position24>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="282" Column="39" TopLine="139"/>
+ <Caret Line="1033" Column="55" TopLine="1021"/>
</Position24>
<Position25>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="585" Column="35" TopLine="556"/>
+ <Caret Line="1019" Column="69" TopLine="1007"/>
</Position25>
<Position26>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="680" Column="23" TopLine="652"/>
+ <Caret Line="89" Column="18" TopLine="71"/>
</Position26>
<Position27>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="89" Column="18" TopLine="71"/>
+ <Caret Line="670" Column="38" TopLine="641"/>
</Position27>
<Position28>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="670" Column="38" TopLine="641"/>
+ <Caret Line="1030" TopLine="1000"/>
</Position28>
<Position29>
- <Filename Value="dateibeziehungen.pas"/>
- <Caret Line="1042" Column="14" TopLine="1021"/>
+ <Filename Value="tools.pas"/>
+ <Caret Line="41" Column="11" TopLine="24"/>
</Position29>
<Position30>
<Filename Value="dateibeziehungen.pas"/>
- <Caret Line="1033" Column="55" TopLine="1021"/>
+ <Caret Line="357" Column="35" TopLine="342"/>
</Position30>
</JumpHistory>
</ProjectSession>
diff --git a/dateibeziehungen.pas b/dateibeziehungen.pas
index a27b0e4..22ce0b5 100644
--- a/dateibeziehungen.pas
+++ b/dateibeziehungen.pas
@@ -1029,10 +1029,11 @@ begin
befehle.add(_mglAbh[i].befehle[j]);
if not unsicher then begin
lokTest:=tRegExpr.create;
- if extractfilepath(ausgabeDatei)=extractfilepath(pruefsummenDatei) then
- lokTest.expression:='^'+extractfilepath(ausgabeDatei)+'/'
+ if (ausgabeDatei='') or
+ (extractfilepath(ausgabeDatei)=extractfilepath(pruefsummenDatei)) then
+ lokTest.expression:='^'+extractfilepath(pruefsummenDatei)
else
- lokTest.expression:='^('+extractfilepath(ausgabeDatei)+'|'+extractfilepath(pruefsummenDatei)+')/';
+ lokTest.expression:='^('+extractfilepath(ausgabeDatei)+'|'+extractfilepath(pruefsummenDatei)+')';
for i:=0 to befehle.count-1 do
testeObBefehlLokal(befehle[i],extractfiledir(ausgabeDatei),geaenderteDateien,lokTest);
lokTest.free;