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.)
This commit is contained in:
David G. Holm
1999-06-25 02:29:59 +00:00
parent 7251c0af50
commit e1faf20593

View File

@@ -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;
}