See ChangeLog entry 19990624-21:10 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-06-25 02:19:30 +00:00
parent 4a4abbfc35
commit 7251c0af50
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
19990624-21:10 EDT David G. Holm <dholm@jsd-llc.com>
* source/compiler/harbour.l
- Corrected logic in if block that prints spurious error message when
using END with a DO or WHILE to actually check the while counter
- Changed from printf() error message to GenError( ERR_ENDIF )
19990625-01:05 CET Victor Szel <info@szelvesz.hu>
* include/extend.h
include/dates.h

View File

@@ -414,7 +414,7 @@ Separator {SpaceTab}
}
"end" { /* END can be used in one context only */
if( _wIfCounter == 0 && _wCaseCounter == 0 && _wCaseCounter == 0 )
printf( "END without an IF / CASE /or WHILE" );
GenError( ERR_ENDIF, NULL, NULL );
return END;
}
%{