ChangeLog 19991219-14:35 GMT+1

This commit is contained in:
Ryszard Glab
1999-12-19 13:21:54 +00:00
parent f125c39058
commit a5fcd61d0e
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
19991219-14:35 GMT+1 Ryszard Glab <rglab@imid.med.pl>
*source/compiler/harbour.l
* fixed recognition of 'DO &var WITH' syntax
19991219-15:55 GMT+3 Alexander Kresin
* source/pp/hbpp.c
* Bug fixed, reported by Victor Szel

View File

@@ -1097,7 +1097,11 @@ Separator {SpaceTab}
<WITH_>{Separator}*. {
if( i_INDEX_STATE ) BEGIN INDEX; else BEGIN 0;
unput( yytext[ yyleng-1 ] );
if( hb_comp_iState == WHILE || hb_comp_iState == DO || hb_comp_iState == IDENTIFIER )
if( hb_comp_iState == WHILE ||
hb_comp_iState == DO ||
hb_comp_iState == MACROVAR ||
hb_comp_iState == MACROTEXT ||
hb_comp_iState == IDENTIFIER )
{ /* DO <ident> WITH <arg> */
hb_comp_iState =WITH;
return WITH;