2009-11-04 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
! do not overwrite file extensions set in .clp file when checking
dependencies in incremental mode
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-11-04 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/utils/hbmk2/hbmk2.prg
|
||||
! do not overwrite file extensions set in .clp file when checking
|
||||
dependencies in incremental mode
|
||||
|
||||
2009-11-04 19:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/utils/hbmk2/hbmk2.prg
|
||||
! fixed incremental mode for @.clp files.
|
||||
|
||||
@@ -4920,7 +4920,7 @@ STATIC FUNCTION clpfile_read( cFileName )
|
||||
|
||||
aFiles := hb_aTokens( cFileBody,, .t. )
|
||||
FOR EACH cFile IN aFiles
|
||||
cFile := FN_ExtSet( StrTran( cFile, '"' ), ".prg" )
|
||||
cFile := FN_ExtDef( StrTran( cFile, '"' ), ".prg" )
|
||||
NEXT
|
||||
|
||||
RETURN aFiles
|
||||
@@ -5624,6 +5624,16 @@ STATIC FUNCTION FN_ExtGet( cFileName )
|
||||
|
||||
RETURN cExt
|
||||
|
||||
STATIC FUNCTION FN_ExtDef( cFileName, cDefExt )
|
||||
LOCAL cDir, cName, cExt
|
||||
|
||||
hb_FNameSplit( cFileName, @cDir, @cName, @cExt )
|
||||
IF Empty( cExt )
|
||||
cExt := cDefExt
|
||||
ENDIF
|
||||
|
||||
RETURN hb_FNameMerge( cDir, cName, cExt )
|
||||
|
||||
STATIC FUNCTION FN_ExtSet( cFileName, cExt )
|
||||
LOCAL cDir, cName
|
||||
|
||||
|
||||
Reference in New Issue
Block a user