2009-03-09 23:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* source/compiler/hbusage.c
    + Added -u+ to help screen.
    * One remaining non-ASCII char cleaned from credit list.

  * include/hbpp.h
  * source/pp/ppcore.c
    ! Renamed HB_PP_MAX_REPATS to HB_PP_MAX_REPEATS.

  * ChangeLog
    * Added one line to my prev entry.
This commit is contained in:
Viktor Szakats
2009-03-09 22:11:04 +00:00
parent a7676e7499
commit 0dad55f4b4
4 changed files with 20 additions and 6 deletions

View File

@@ -8,6 +8,18 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-03-09 23:05 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/compiler/hbusage.c
+ Added -u+ to help screen.
* One remaining non-ASCII char cleaned from credit list.
* include/hbpp.h
* source/pp/ppcore.c
! Renamed HB_PP_MAX_REPATS to HB_PP_MAX_REPEATS.
* ChangeLog
* Added one line to my prev entry.
2009-03-09 17:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcompdf.h
* harbour/source/compiler/cmdcheck.c
@@ -29,6 +41,7 @@
* make_gnu_os2.cmd
* make_gnu.bat
+ Clearing HARBOUR/CLIPPER envvars while building Harbour.
* bcc32 no longer accepted as compatibility HB_COMPILER value.
* utils/hbmk2/hbmk2.prg
* TODO section update.

View File

@@ -395,7 +395,7 @@ HB_PP_TOKEN, * PHB_PP_TOKEN;
/* maximum number of single token translations, in Clipper it's 18 + number
of used rules, we will use also constant but increased by total number
of rules of given type: define, [x]translate, [x]command */
#define HB_PP_MAX_REPATS 128
#define HB_PP_MAX_REPEATS 128
/* Clipper allows only 16 nested includes */
#define HB_PP_MAX_INCLUDED_FILES 64

View File

@@ -75,7 +75,7 @@ void hb_compPrintUsage( HB_COMP_DECL, const char * szSelf )
"\n 3=generate real C code",
#ifdef HB_LEGACY_LEVEL2
"\n %cgo output type: Platform dependant object module",
"\n Deprecated. Please use hbmk2",
"\n (deprecated. Please use hbmk2)",
#endif
#ifdef HB_GEN_OBJ32
"\n %cgw output type: Windows/DOS OBJ32 (.obj)",
@@ -100,6 +100,7 @@ void hb_compPrintUsage( HB_COMP_DECL, const char * szSelf )
"\n %cs syntax check only",
/* TODO: "\n %ct<path> path for temp file creation", */
"\n %cu[<file>] use command def set in <file> (or none)",
"\n %cu+[<file>] #include <file>",
"\n %cundef:<id> #undef <id>",
"\n %cv variables are assumed M->",
"\n %cw[<level>] set warning level number (0..3, default 1)",
@@ -246,7 +247,7 @@ void hb_compPrintCredits( HB_COMP_DECL )
"Ryszard Glab <rglab imid.med.pl>\n"
"Teo Fonrouge <teo windtelsoft.dot.com>\n"
"Tim Stone <timstone mstrlink.com>\n"
"Toma¾ Zupan <tomaz.zupan orpo.si>\n"
"Tomaz Zupan <tomaz.zupan orpo.si>\n"
"Vailton Renato <vailtom gmail.com>\n"
"Viktor Szakats <harbour.01 syenar.hu>\n"
"Vladimir Kazimirchik <v_kazimirchik yahoo.com>\n"

View File

@@ -4177,7 +4177,7 @@ static BOOL hb_pp_processDefine( PHB_PP_STATE pState, PHB_PP_TOKEN * pFirstPtr )
hb_pp_patternReplace( pState, pRule, pFirstPtr, "define" );
fSubst = fRepeat = TRUE;
if( ++pState->iCycle > pState->iMaxCycles ||
++iCycle > HB_PP_MAX_REPATS + pState->iDefinitions )
++iCycle > HB_PP_MAX_REPEATS + pState->iDefinitions )
{
pState->iCycle = pState->iMaxCycles + 1;
hb_pp_error( pState, 'E', HB_PP_ERR_CYCLIC_DEFINE, pRule->pMatch->value );
@@ -4221,7 +4221,7 @@ static BOOL hb_pp_processTranslate( PHB_PP_STATE pState, PHB_PP_TOKEN * pFirstPt
hb_pp_patternReplace( pState, pRule, pTokenPtr, "translate" );
fSubst = fRepeat = TRUE;
if( ++pState->iCycle > pState->iMaxCycles ||
++iCycle > HB_PP_MAX_REPATS + pState->iTranslations )
++iCycle > HB_PP_MAX_REPEATS + pState->iTranslations )
{
pState->iCycle = pState->iMaxCycles + 1;
hb_pp_error( pState, 'E', HB_PP_ERR_CYCLIC_TRANSLATE, pRule->pMatch->value );
@@ -4260,7 +4260,7 @@ static BOOL hb_pp_processCommand( PHB_PP_STATE pState, PHB_PP_TOKEN * pFirstPtr
hb_pp_patternReplace( pState, pRule, pFirstPtr, "command" );
fSubst = fRepeat = TRUE;
if( ++pState->iCycle > pState->iMaxCycles ||
++iCycle > HB_PP_MAX_REPATS + pState->iCommands )
++iCycle > HB_PP_MAX_REPEATS + pState->iCommands )
{
pState->iCycle = pState->iMaxCycles + 1;
hb_pp_error( pState, 'E', HB_PP_ERR_CYCLIC_COMMAND, pRule->pMatch->value );