diff --git a/harbour/source/compiler/harbour.c b/harbour/source/compiler/harbour.c index 7ea280ca1a..4586cb208e 100644 --- a/harbour/source/compiler/harbour.c +++ b/harbour/source/compiler/harbour.c @@ -654,6 +654,7 @@ void hb_compVariableAdd( char * szVarName, BYTE cValueType ) wLocal++; } pLastVar->pNext = pVar; + wLocal++; } if( hb_comp_iVarScope == VS_PARAMETER ) {