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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user