2006-03-27 15:25 UTC+0100 Ryszard Glab <rglab//imid.med.pl>

* contrib/htmllib/default.ch
    * fixed IF/THEN command

  * source/compiler/hbident.c
  * source/compiler/harbour.l
    * added memory duplication for macro text (&a._m)

  * source/pp/ppcore.c
    * fixed my last commits
    * processed this file with indent
This commit is contained in:
Ryszard Glab
2006-03-27 13:15:07 +00:00
parent 29f11ab65c
commit 167ef1f0c5
5 changed files with 754 additions and 1022 deletions

View File

@@ -8,6 +8,19 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
* source/pp/ppcore.c
* harbour/source/compiler/hbdead.c
* harbour/source/compiler/hbfix.c
* harbour/source/compiler/hblbl.c
* harbour/source/compiler/hbstripl.c
* use hb_compPCodeSize() function
* removed not longer necessary functions for checking the real size
of variable size PCODEs
* harbour/source/vm/hvm.c
* fixed RT error number in hb_vmAddInt() for negative values to be
2006-03-27 15:25 UTC+0100 Ryszard Glab <rglab//imid.med.pl>
* contrib/htmllib/default.ch

View File

@@ -265,10 +265,10 @@
#command UNTIL <*lexpr*> => IF (<lexpr>); EXIT ; END ; ENDDO
#command IF <lexpr> THEN <*statement*> =>;
IIF(<lexpr>) ; <statement> ; END
IF(<lexpr>) ; <statement> ; END
#command IF <lexpr> THEN <statement1> ELSE <statement2> =>;
IIF(<lexpr>) ; <statement1> ; ELSE ; <statement2> ; END
IF(<lexpr>) ; <statement1> ; ELSE ; <statement2> ; END
#define _DEFAULT_CH_
#endif

View File

@@ -1726,19 +1726,19 @@ Separator {SpaceTab}
}
{MacroEnd} {
yylval.string = yytext;
yylval.string = hb_compIdentifierNew( hb_strupr( yytext ), TRUE );
hb_comp_iState = MACROTEXT;
return MACROTEXT;
}
{MacroId} {
yylval.string = yytext;
yylval.string = hb_compIdentifierNew( hb_strupr( yytext+1 ), TRUE );
hb_comp_iState = MACROTEXT;
return MACROTEXT;
}
{MacroTxt} {
yylval.string = yytext;
yylval.string = hb_compIdentifierNew( hb_strupr( yytext+1 ), TRUE );
hb_comp_iState = MACROTEXT;
return MACROTEXT;
}

View File

@@ -100,5 +100,6 @@ void hb_compIdentifierClose( )
if( s_comp_Identifiers )
{
hb_hashTableKill( s_comp_Identifiers );
s_comp_Identifiers = NULL;
}
}

File diff suppressed because it is too large Load Diff