From 1febce115536a5258c5b76d18fedf3e320c57a7a Mon Sep 17 00:00:00 2001 From: Ryszard Glab Date: Mon, 22 Nov 1999 16:29:06 +0000 Subject: [PATCH] ChangeLog 19991122-17:25 --- harbour/ChangeLog | 7 +++++++ harbour/source/compiler/harbour.y | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 ); }