From 561d290baf242c43c2adfa2c060e7dfe034fa216 Mon Sep 17 00:00:00 2001 From: Andi Jahja Date: Thu, 17 Oct 2002 07:58:42 +0000 Subject: [PATCH] harbour.y --- harbour/source/compiler/harbour.sly | 2 +- harbour/source/compiler/harbour.y | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/harbour/source/compiler/harbour.sly b/harbour/source/compiler/harbour.sly index 661049e5c9..d1174debf0 100644 --- a/harbour/source/compiler/harbour.sly +++ b/harbour/source/compiler/harbour.sly @@ -2227,7 +2227,7 @@ static void hb_compRTVariableGen( char * szCreateFun ) HB_RTVAR_PTR pDel; /* generate the function call frame */ - hb_compGenPushSymbol( hb_strdup( szCreateFun ), 1); + hb_compGenPushSymbol( hb_strdup( szCreateFun ), TRUE, FALSE ); hb_compGenPushNil(); /* push variable names to create */ diff --git a/harbour/source/compiler/harbour.y b/harbour/source/compiler/harbour.y index 580e91077b..1d3e8f0d14 100644 --- a/harbour/source/compiler/harbour.y +++ b/harbour/source/compiler/harbour.y @@ -57,7 +57,7 @@ extern void yy_delete_buffer( void * ); /* yacc functions to manage multiple fil /* lex & yacc related prototypes */ #if !defined(__GNUC__) && !defined(__IBMCPP__) #if 0 - /* This makes BCC 551 fail with Bison 1.30, even with the + /* This makes BCC 551 fail with Bison 1.30, even with the supplied harbour.simple file, which makes Bison 1.30 blow. [vszakats] */ void __yy_memcpy ( char*, const char*, unsigned int ); /* to satisfy Borland compiler */ @@ -2083,4 +2083,4 @@ static void hb_compVariableDim( char * szName, HB_EXPR_PTR pInitValue ) hb_compGenPCode3( HB_P_ARRAYDIM, HB_LOBYTE( uCount ), HB_HIBYTE( uCount ), ( BOOL ) 1 ); hb_compExprDelete( hb_compExprGenPop( hb_compExprNewVar( szName ) ) ); } -} \ No newline at end of file +}