2009-05-28 19:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* utils/hbmk2/hbmk2.prg
    + .hbm embedding is now allowed 10 level deep (was 3).
This commit is contained in:
Viktor Szakats
2009-05-28 17:06:40 +00:00
parent 6d5c918bb1
commit de52d07395
2 changed files with 6 additions and 2 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to these authors: Viktor Szakats.
*/
2009-05-28 19:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
+ .hbm embedding is now allowed 10 level deep (was 3).
2009-05-28 17:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/hbsuper
+ contrib/examples/hbsuper/hbsuper.hbm

View File

@@ -4796,7 +4796,7 @@ STATIC PROCEDURE HBM_Load( hbmk, aParams, cFileName, /* @ */ nEmbedLevel )
IF ! Empty( cParam )
DO CASE
CASE ( Len( cParam ) >= 1 .AND. Left( cParam, 1 ) == "@" )
IF nEmbedLevel < 3
IF nEmbedLevel < 10
cParam := SubStr( cParam, 2 )
IF Empty( FN_ExtGet( cParam ) )
cParam := FN_ExtSet( cParam, ".hbm" )
@@ -4805,7 +4805,7 @@ STATIC PROCEDURE HBM_Load( hbmk, aParams, cFileName, /* @ */ nEmbedLevel )
HBM_Load( hbmk, aParams, PathProc( cParam, cFileName ), @nEmbedLevel ) /* Load parameters from script file */
ENDIF
CASE Lower( FN_ExtGet( cParam ) ) == ".hbm"
IF nEmbedLevel < 3
IF nEmbedLevel < 10
nEmbedLevel++
HBM_Load( hbmk, aParams, PathProc( cParam, cFileName ), @nEmbedLevel ) /* Load parameters from script file */
ENDIF