diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 35a933ec6b..d57564d1f0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-05-20 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/compiler/complex.c + ! fixed typo in last modification - I chose wrong token + 2008-05-19 23:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * harbour/harbour.spec diff --git a/harbour/source/compiler/complex.c b/harbour/source/compiler/complex.c index ade24e865f..a2ba2044ba 100644 --- a/harbour/source/compiler/complex.c +++ b/harbour/source/compiler/complex.c @@ -801,15 +801,15 @@ int hb_complex( YYSTYPE *yylval_ptr, HB_COMP_DECL ) hb_compGenError( HB_COMP_PARAM, hb_comp_szErrors, 'E', HB_COMP_ERR_ENDIF, NULL, NULL ); hb_pp_tokenGet( pLex->pPP ); - pLex->iState = END; - return END; + pLex->iState = ENDSEQ; + return ENDSEQ; } else if( HB_PP_TOKEN_ISEOC( pToken->pNext ) || HB_PP_TOKEN_TYPE( pToken->pNext->type ) == HB_PP_TOKEN_KEYWORD ) { pLex->iState = END; - return ENDSEQ; + return END; } if( !HB_SUPPORT_HARBOUR ) {