From e1faf20593fa5cd612ff8c9a2f08398d3ed42cec Mon Sep 17 00:00:00 2001 From: "David G. Holm" Date: Fri, 25 Jun 1999 02:29:59 +0000 Subject: [PATCH] Geez! I can't believe I forgot half the change! (It was partly because I had started it before the huge types.h change was finished, so I removed my copy of harbour.l and got a fresh copy to change.) --- harbour/source/compiler/harbour.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harbour/source/compiler/harbour.l b/harbour/source/compiler/harbour.l index 1ea8fecc81..da335ef0d3 100644 --- a/harbour/source/compiler/harbour.l +++ b/harbour/source/compiler/harbour.l @@ -413,7 +413,7 @@ Separator {SpaceTab} return ENDDO; } "end" { /* END can be used in one context only */ - if( _wIfCounter == 0 && _wCaseCounter == 0 && _wCaseCounter == 0 ) + if( _wIfCounter == 0 && _wCaseCounter == 0 && _wWhileCounter == 0 ) GenError( ERR_ENDIF, NULL, NULL ); return END; }