2001-08-14 23:53 GMT+1 Patrick Mast <harbour@PatrickMast.com>
* contrib/tprepro/tprepro.prg
* Bug fix in TranslateFile() method
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2001-08-14 23:53 GMT+1 Patrick Mast <harbour@PatrickMast.com>
|
||||
* contrib/tprepro/tprepro.prg
|
||||
* Bug fix in TranslateFile() method
|
||||
|
||||
2001-08-13 23:18 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
|
||||
* source/vm/mainwin.c
|
||||
* added hInstance assignment to hb_hInstance
|
||||
|
||||
@@ -149,7 +149,6 @@ return cResult
|
||||
|
||||
|
||||
|
||||
|
||||
METHOD TranslateFile( cFile, lWritePPO, cPPOExt, lWasteNoSpace ) CLASS TPreprocessor
|
||||
|
||||
local cStr, cByte, hPPO, cExt, cPP
|
||||
@@ -206,14 +205,10 @@ METHOD TranslateFile( cFile, lWritePPO, cPPOExt, lWasteNoSpace ) CLASS TPreproce
|
||||
|
||||
if lWasteNoSpace
|
||||
if !Empty( cPP )
|
||||
cResult+= LTrim( cPP )
|
||||
cResult+= LTrim( cPP ) + Replicate(CRLF,nPuntComma)
|
||||
endif
|
||||
else
|
||||
if Empty( cPP )
|
||||
cResult+= Replicate(CRLF,nPuntComma)
|
||||
else
|
||||
cResult+=cPP + Replicate(CRLF,nPuntComma)
|
||||
endif
|
||||
cResult+=cPP + Replicate(CRLF,nPuntComma)
|
||||
endif
|
||||
|
||||
enddo
|
||||
@@ -239,6 +234,4 @@ METHOD TranslateFile( cFile, lWritePPO, cPPOExt, lWasteNoSpace ) CLASS TPreproce
|
||||
|
||||
endif
|
||||
|
||||
::cPreProcessed := cResult
|
||||
|
||||
return cResult
|
||||
Reference in New Issue
Block a user