2001-08-04 13:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.l
* source/compiler/harbour.slx
* Added inline c support for hb_comp_iLanguage == LANG_OBJ_MODULE
* source/compiler/harbour.sly
* Added support for HB_COMP_ISSUPPORTED( HB_COMPFLAG_XBASE ) in Statement : ( MacroVar and MacroExpr ) to sync with harbour.y
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2001-08-04 13:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/compiler/harbour.l
|
||||
* source/compiler/harbour.slx
|
||||
* Added inline c support for hb_comp_iLanguage == LANG_OBJ_MODULE
|
||||
|
||||
* source/compiler/harbour.sly
|
||||
* Added support for HB_COMP_ISSUPPORTED( HB_COMPFLAG_XBASE ) in Statement : ( MacroVar and MacroExpr ) to sync with harbour.y
|
||||
|
||||
2001-08-04 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/vm/macro.c
|
||||
! Added missing ; in line 956
|
||||
|
||||
@@ -101,7 +101,7 @@ Identifier (([a-zA-Z])|([_a-zA-Z][_a-zA-Z0-9]+))
|
||||
MacroVar \&{Identifier}[\.]?
|
||||
MacroEnd \&{Identifier}\.([_a-zA-Z0-9]*)
|
||||
%{
|
||||
/*
|
||||
/*
|
||||
MacroId ({Identifier}\&(({Identifier}[\.]?)|({Identifier}\.([_a-zA-Z0-9]*))))
|
||||
*/
|
||||
%}
|
||||
@@ -906,7 +906,7 @@ Separator {SpaceTab}
|
||||
}
|
||||
else
|
||||
{
|
||||
if( hb_comp_iLanguage != LANG_C )
|
||||
if( hb_comp_iLanguage != LANG_C && hb_comp_iLanguage != LANG_OBJ_MODULE )
|
||||
{
|
||||
hb_compGenError( hb_comp_szErrors, 'F', HB_COMP_ERR_REQUIRES_C, NULL, NULL );
|
||||
hb_xfree( ( void * ) pInline->pCode );
|
||||
|
||||
@@ -1181,7 +1181,7 @@ int hb_comp_SLX_CustomAction( int x, int aiHold[], int *ptr_iHold, BOOL *ptr_bIg
|
||||
}
|
||||
else
|
||||
{
|
||||
if( hb_comp_iLanguage != LANG_C )
|
||||
if( hb_comp_iLanguage != LANG_C && hb_comp_iLanguage != LANG_OBJ_MODULE )
|
||||
{
|
||||
hb_compGenError( hb_comp_szErrors, 'F', HB_COMP_ERR_REQUIRES_C, NULL, NULL );
|
||||
hb_xfree( ( void * ) pInline->pCode );
|
||||
|
||||
@@ -337,8 +337,16 @@ Statement : ExecFlow CrlfStmnt { }
|
||||
| FunCall CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| AliasExpr CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| ObjectMethod CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| MacroVar CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| MacroExpr CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| MacroVar CrlfStmnt { if( HB_COMP_ISSUPPORTED( HB_COMPFLAG_XBASE ) )
|
||||
hb_compExprDelete( hb_compExprGenStatement( $1 ) );
|
||||
else
|
||||
hb_compExprDelete( hb_compErrorSyntax( $1 ) );
|
||||
}
|
||||
| MacroExpr CrlfStmnt { if( HB_COMP_ISSUPPORTED( HB_COMPFLAG_XBASE ) )
|
||||
hb_compExprDelete( hb_compExprGenStatement( $1 ) );
|
||||
else
|
||||
hb_compExprDelete( hb_compErrorSyntax( $1 ) );
|
||||
}
|
||||
| PareExpList CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| ExprPreOp CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
| ExprPostOp CrlfStmnt { hb_compExprDelete( hb_compExprGenStatement( $1 ) ); }
|
||||
|
||||
Reference in New Issue
Block a user