From dfbe9dd6ce70a30797dd9c6fcbeb220ef70ca1f3 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 17 May 2011 15:33:28 +0000 Subject: [PATCH] 2011-05-17 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c ! do not strip spaces from serialized codeblocks with late macro evaluation --- harbour/ChangeLog | 5 +++++ harbour/src/pp/ppcore.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 379aee79c2..777f5a52be 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2011-05-17 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/pp/ppcore.c + ! do not strip spaces from serialized codeblocks with late macro + evaluation + 2011-05-17 16:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/compiler/gencc.c ! hb_p_pushlong: conditional -gc3 generated code modified to diff --git a/harbour/src/pp/ppcore.c b/harbour/src/pp/ppcore.c index 7ecb74a575..6854156033 100644 --- a/harbour/src/pp/ppcore.c +++ b/harbour/src/pp/ppcore.c @@ -6272,7 +6272,8 @@ char * hb_pp_tokenBlockString( PHB_PP_STATE pState, PHB_PP_TOKEN pToken, int iBraces = 0; do { - hb_pp_tokenStr( pToken, pState->pBuffer, HB_FALSE, HB_TRUE, ltype ); + hb_pp_tokenStr( pToken, pState->pBuffer, ltype != HB_PP_TOKEN_NUL, + HB_TRUE, ltype ); ltype = HB_PP_TOKEN_TYPE( pToken->type ); switch( ltype ) {