2001-06-10 19:07 GMT+1 Patrick Mast <harbour@PatrickMast.com>

* contrib/tprepro/tprepro.prg
     * SetIncludePath() method uses __PP_PATH now
     + Added AddIncludePath(cIncludePath) method to TPreProcessor class
This commit is contained in:
Patrick Mast
2001-06-10 17:11:01 +00:00
parent 4b57069202
commit c2fff8a5cc
2 changed files with 18 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2001-06-10 19:07 GMT+1 Patrick Mast <harbour@PatrickMast.com>
* contrib/tprepro/tprepro.prg
* SetIncludePath() method uses __PP_PATH now
+ Added AddIncludePath(cIncludePath) method to TPreProcessor class
2001-06-10 18:35 GMT+3 Alexander Kresin <alex@belacy.belgorod.su>
* source/pp/pplib.c
+ __PP_PATH( cPath, lClear ) added

View File

@@ -80,6 +80,7 @@ CLASS TPreProcessor
METHOD End()
METHOD AddRule( cRule )
METHOD AddIncludepath( cIncludePath )
METHOD SetIncludepath( cIncludePath )
METHOD TranslateLine( cCode )
METHOD TranslateFile( cFile, lWritePPO )
@@ -112,7 +113,7 @@ return Self
METHOD SetIncludepath( cIncludePath ) CLASS TPreprocessor
__PP_Init( cIncludePath )
__PP_PATH( cIncludePath, .t. )
::cIncludepath:=cIncludePath
@@ -121,6 +122,17 @@ return Self
METHOD AddIncludepath( cIncludePath ) CLASS TPreprocessor
__PP_PATH( cIncludePath, .f. )
::cIncludepath:=::cIncludePath+";"+cIncludePath
return Self
METHOD AddRule( cRule ) CLASS TPreprocessor