diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 8c774f903e..65a82527e4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,13 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-04-28 09:28 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * common.mak + * source/rtl/Makefile + * source/rtl/einstvar.prg + + source/rtl/einstvau.prg + * Undoc function moved to separate file. + 2008-04-28 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/rdd_ads/adsfunc.c ! Fixed warning in ADSDIRECTORY() for ADS >= 9.00. diff --git a/harbour/common.mak b/harbour/common.mak index 352f1e1ab2..a5e1594e65 100644 --- a/harbour/common.mak +++ b/harbour/common.mak @@ -599,6 +599,7 @@ RTL_LIB_OBJS = \ $(OBJ_DIR)\dircmd$(OBJEXT) \ $(OBJ_DIR)\einstv52$(OBJEXT) \ $(OBJ_DIR)\einstvar$(OBJEXT) \ + $(OBJ_DIR)\einstvau$(OBJEXT) \ $(OBJ_DIR)\errorsys$(OBJEXT) \ $(OBJ_DIR)\fieldbl$(OBJEXT) \ $(OBJ_DIR)\getlist$(OBJEXT) \ diff --git a/harbour/source/rtl/Makefile b/harbour/source/rtl/Makefile index d775313ff0..063916c56c 100644 --- a/harbour/source/rtl/Makefile +++ b/harbour/source/rtl/Makefile @@ -170,6 +170,7 @@ PRG_SOURCES=\ dircmd.prg \ einstv52.prg \ einstvar.prg \ + einstvau.prg \ errorsys.prg \ fieldbl.prg \ getlist.prg \ diff --git a/harbour/source/rtl/einstvar.prg b/harbour/source/rtl/einstvar.prg index 7ff4ed90d4..612a05cc88 100644 --- a/harbour/source/rtl/einstvar.prg +++ b/harbour/source/rtl/einstvar.prg @@ -53,17 +53,6 @@ #include "common.ch" -#ifdef HB_C52_UNDOC - -FUNCTION _eInstVar( ... ) -#ifdef HB_COMPAT_C53 - RETURN __eInstVar53( ... ) -#else - RETURN __eInstVar52( ... ) -#endif - -#endif - /* NOTE: In CA-Cl*pper 5.2/5.3 the cMethod argument seems to be ignored. */ FUNCTION __eInstVar53( oVar, cMethod, xValue, cType, nSubCode, bValid ) diff --git a/harbour/source/rtl/einstvau.prg b/harbour/source/rtl/einstvau.prg new file mode 100644 index 0000000000..334a1da0ce --- /dev/null +++ b/harbour/source/rtl/einstvau.prg @@ -0,0 +1,63 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * Undocumented CA-Cl*pper function used to validate + * instance variable type in assign messages. + * + * Copyright 2007 Przemyslaw Czerpak + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +#ifdef HB_C52_UNDOC + +FUNCTION _eInstVar( ... ) +#ifdef HB_COMPAT_C53 + RETURN __eInstVar53( ... ) +#else + RETURN __eInstVar52( ... ) +#endif + +#endif