From 079aa5c0780dd1c00d76d6d63a0a7782e81b31e2 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 12 Nov 2012 13:08:47 +0000 Subject: [PATCH] 2012-11-12 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexpra.c + added compile time error for GETs with complex macros --- harbour/ChangeLog | 4 ++++ harbour/include/hbexpra.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1f6f175877..76eab9044c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2012-11-12 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * harbour/include/hbexpra.c + + added compile time error for GETs with complex macros + 2012-11-12 13:44 UTC+0100 Viktor Szakats (harbour syenar.net) * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po diff --git a/harbour/include/hbexpra.c b/harbour/include/hbexpra.c index 166b68ca08..779175dcb0 100644 --- a/harbour/include/hbexpra.c +++ b/harbour/include/hbexpra.c @@ -409,9 +409,8 @@ HB_EXPR_PTR hb_compExprNewFunCall( HB_EXPR_PTR pName, HB_EXPR_PTR pParms, HB_COM } else { /* @ 0,0 GET &(var) - * TODO: generate a compilation time error - - * invalid GET expression */ + hb_compGenError( HB_COMP_PARAM, hb_comp_szErrors, 'E', HB_COMP_ERR_GET_COMPLEX_MACRO, NULL, NULL ); } } else