diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4a46cea054..0f89698d01 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,10 @@ +19991122-17:25 GMT+1 Ryszard Glab + + * source/compiler/harbour.y + * fixed incorrect error generation if empty lines were placed between + DO CASE statement and the first CASE statement + + 19991122-16:12 GMT+1 Victor Szel * source/common/hbstr.c include/extend.h diff --git a/harbour/source/compiler/harbour.y b/harbour/source/compiler/harbour.y index 27cf08a40a..7d0053d1b9 100644 --- a/harbour/source/compiler/harbour.y +++ b/harbour/source/compiler/harbour.y @@ -340,7 +340,7 @@ LineStat : Crlf { $$ = 0; hb_comp_bDontGenLineNum = TRUE; } ; Statements : LineStat { $$ = $1; } - | Statements LineStat { $$ += $3; } + | Statements LineStat { $$ += $1; } ; ExtList : IDENTIFIER { hb_compExternAdd( $1 ); }