2014-01-30 10:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbtip/utils.c
* src/rtl/gtwvt/gtwvt.c
* casting to pacify some warnings
* src/compiler/harbour.y
* src/compiler/harbour.yyc
* src/compiler/harbour.yyh
* changed type of valChar.length from int to HB_SIZE
* include/hbpp.h
* src/pp/ppcore.c
* changed type of last hb_pp_tokenBlockString() parameter
from int * to HB_SIZE *
* src/compiler/complex.c
* removed unnecessary casting
This commit is contained in:
@@ -269,12 +269,12 @@ static const char * hb_comp_tokenIdentifer( HB_COMP_DECL, PHB_PP_TOKEN pToken )
|
||||
|
||||
static const char * hb_comp_tokenString( YYSTYPE * yylval_ptr, HB_COMP_DECL, PHB_PP_TOKEN pToken )
|
||||
{
|
||||
yylval_ptr->valChar.length = ( HB_SIZE ) pToken->len;
|
||||
yylval_ptr->valChar.length = pToken->len;
|
||||
yylval_ptr->valChar.string = ( char * ) pToken->value;
|
||||
yylval_ptr->valChar.dealloc = HB_FALSE;
|
||||
if( HB_PP_TOKEN_ALLOC( pToken->type ) )
|
||||
{
|
||||
yylval_ptr->valChar.dealloc = ( HB_SIZE ) pToken->len != strlen( pToken->value );
|
||||
yylval_ptr->valChar.dealloc = pToken->len != strlen( pToken->value );
|
||||
pToken->value = hb_compIdentifierNew( HB_COMP_PARAM, pToken->value,
|
||||
yylval_ptr->valChar.dealloc ? HB_IDENT_COPY : HB_IDENT_FREE );
|
||||
if( ! yylval_ptr->valChar.dealloc )
|
||||
|
||||
Reference in New Issue
Block a user