2000-01-01 23:35 UTC+0800 Ron Pinkas <ron@profit-master.com>

* source/compiler/harbour.c
     * Minor correction in hb_compInlineAdd()
This commit is contained in:
Ron Pinkas
2001-01-02 07:36:29 +00:00
parent 8d2b4bd7f0
commit 191a684ad8
2 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2000-01-01 23:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
* Minor correction in hb_compInlineAdd()
2000-01-01 22:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h

View File

@@ -1080,6 +1080,17 @@ void hb_compFunctionAdd( char * szFunName, HB_SYMBOLSCOPE cScope, int iType )
PINLINE hb_compInlineAdd( char * szFunName )
{
PINLINE pInline;
PCOMSYMBOL pSym;
pSym = hb_compSymbolFind( szFunName, NULL );
if( ! pSym )
{
pSym = hb_compSymbolAdd( szFunName, NULL );
}
if( pSym )
{
pSym->cScope |= HB_FS_STATIC;
}
pInline = hb_compInlineNew( szFunName );