Commit Graph

2781 Commits

Author SHA1 Message Date
Ron Pinkas
eec5c93ec1 20000503-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
     + Added:
	#define VU_NOT_USED    0
	#define VU_INITIALIZED 1
	#define VU_USED        2

   * source/compiler/harbour.c
      * Modified refrences to pVar->iUsed to use new VU_* constants.

   * source/compiler/hbpcode.c
     * Enhanced hb_compStrongType() to check and set pVar->iUsed with new VU_*constants.
2000-05-04 04:35:54 +00:00
Ron Pinkas
f6cc8be651 20000503-19:25 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
     * Corrcetd pVars->iUsed = 1 to pVars->iUsed |= 1 in hb_compVariableGetPos() so it won't override -1 value from StrongType()
2000-05-04 02:27:03 +00:00
Viktor Szakats
ba32c1fa9d 20000503-22:43 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-03 20:39:41 +00:00
Ron Pinkas
7da8b5fc2a 20000503-01:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hberrors.h
     + Added:
        #define HB_COMP_NOT_INITIALIZED

   * source/compiler/hbgenerr.c
     + Added: "3Variable \'%s\' used but never initialized"

   * source/compiler/hbpcode.c
     * Enhanced hb_compStrongType() to warn against un-initialized varaiable usage.
2000-05-03 08:45:45 +00:00
Ron Pinkas
78a4a8e84f 20000503-01:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
     * Fixed hb_compStrongType() to difrentiate between a MEMVAR and a DECLARED FUNCTION with the same name.
     + Added support for HB_P_ARRAYPUSH

   * source/compiler/hbgenerr.c
     * Minor correction to "Incompatibe return type"

   * tests/testwarn.prg
     + Added code to demonstrate more warnings.
2000-05-03 08:00:23 +00:00
Ron Pinkas
d4b1d4c1fd 20000502-23:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
     - Removed members cParamTypes and iParamCount from COMSYMBOL
     + Added member USHORT iStackSize to FUNCTION structure
     * Modified member pStack of FUNCTION to not pre allocate any memory.
     + Added new structure COMDECLARED
     + Added: extern PCOMDECLARED hb_compDeclaredAdd( char * ) and extern PCOMDECLARED hb_compDeclaredFind( char * );
     + Adede: extern PCOMDECLARED  hb_comp_pFirstDeclared and extern PCOMDECLARED  hb_comp_pLastDeclared

   * include/hberrors.h
     + Added:
        #define HB_COMP_DUP_DECLARATION                 17
        #define HB_COMP_DECLARATION_CONFLICT            18

   * source/compiler/genc.c
     * Modified hb_compGenCCode() to free the Declared Function linked list.

   * source/compiler/harbour.c
     + Added: PCOMDECLARED hb_compDeclaredAdd( char * ) and PCOMDECLARED hb_compDeclaredFind( char * );
     + Adede: PCOMDECLARED  hb_comp_pFirstDeclared and PCOMDECLARED  hb_comp_pLastDeclared

   * source/compiler/harbour.y
     * Modified parsing of DECLARE FUNCTION to use new PCOMDECLARED rather than PCOMSYMBOL

   * source/compiler/hbgenerr.c
     + Added:
       "3Duplicate Declaration of Function %s"
       "3Function \'%s\' conflicting with its declaration"

   * source/compiler/hbpcode.c
     * Modifief hb_compStrongType() to utilize PCOMDECLARED rather than PCOMSYMBOL
     * Modifief hb_compStrongType() to increase the pFunc->pStack as needed.

   * tests/testwarn.prg
     + Added code to demonstrate more warnings.
2000-05-03 06:32:02 +00:00
Viktor Szakats
8d9e60b1b6 20000503-01:13 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 23:09:51 +00:00
Viktor Szakats
bbd8b2922e 20000503-00:39 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 22:37:24 +00:00
Maurilio Longo
193c2225ad 20000503-00:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-05-02 22:07:12 +00:00
Viktor Szakats
3587cf37d7 20000502-22:04 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 20:14:18 +00:00
Viktor Szakats
bde2a8ade0 20000502-19:28 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 17:35:27 +00:00
Viktor Szakats
503b74c9af 20000502-19:28 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 17:35:26 +00:00
Viktor Szakats
4e4af6c94e 20000502-19:28 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 17:25:09 +00:00
Viktor Szakats
ae1fa35c88 20000502-19:12 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 17:10:29 +00:00
Viktor Szakats
9ab7a9a305 20000502-19:12 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 17:10:28 +00:00
Ryszard Glab
ded93951c0 ChangeLog 20000502-17:15 GMT+1 2000-05-02 15:08:25 +00:00
Ryszard Glab
7be838ea9e ChangeLog 20000502-16:22 GMT+1 2000-05-02 14:15:31 +00:00
Ryszard Glab
975a6bfc7f ChangeLog 20000502-16:07 GMT+1 2000-05-02 14:02:48 +00:00
Ryszard Glab
fcac8dc38e ChangeLog 20000502-14:55 GMT+1 2000-05-02 12:47:25 +00:00
Ryszard Glab
b84589f8c4 ChangeLog 20000502-14:25 GMT+1 2000-05-02 12:20:23 +00:00
Viktor Szakats
4f4de292f3 20000502-10:41 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 08:41:18 +00:00
Ron Pinkas
d9583b3651 20000502-01:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
      * Correction compiler warning about piShifts in hb_compOptimizeJumps().

    * source/compiler/hbpcode.c
      * Correction compiler warning about pSym in hb_compStrongType().
2000-05-02 08:30:27 +00:00
Viktor Szakats
fdb62e01c5 20000502-09:30 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 07:31:14 +00:00
David G. Holm
91ea081a6b See ChangeLog entry 2000-05-02 01:45 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-05-02 05:46:45 +00:00
Ron Pinkas
90808e7713 20000501-20:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added "as char" and "as string" as acceptable alternative to "as character"
     + Added "as num" as acceptable alternative to "as numeric"
2000-05-02 03:49:18 +00:00
Viktor Szakats
4f884b97a4 20000502-02:13 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 00:13:40 +00:00
Viktor Szakats
234074140c 20000502-02:13 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-02 00:12:34 +00:00
Viktor Szakats
be7f72c97d 20000502-01:43 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 23:41:19 +00:00
Viktor Szakats
382f8da021 20000502-01:14 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 23:11:11 +00:00
Viktor Szakats
3fd30ff94d 20000501-23:25 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 21:27:02 +00:00
Maurilio Longo
bcd7650437 20000501-23:21 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-05-01 21:23:13 +00:00
Maurilio Longo
764fc7510c 20000501-23:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-05-01 21:20:14 +00:00
Ron Pinkas
f14599541d 20000501-14:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.c
      * Minor correction to hb_compVariableAdd().

    * source/compiler/hbpcode.c
      * Enhancements to hb_compStrongType() to support new PUSH/POPALIASEDFIELDNEAR.

    * tests/testwarn.prg
      + Added code to demonstrate more warnings.
2000-05-01 21:14:35 +00:00
Ryszard Glab
b82fbc0aa2 ChangeLog 20000501-19:05 GMT+1 2000-05-01 16:56:48 +00:00
Ryszard Glab
4a98b9ca8b ChangeLog 20000501-18:55 GMT+1 2000-05-01 16:51:15 +00:00
Viktor Szakats
d2baf5dbfc 20000501-18:48 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 16:49:56 +00:00
Luiz Rafael Culik
0affcb633f *** empty log message *** 2000-05-01 16:47:03 +00:00
Luiz Rafael Culik
503ac8c727 See changelog 20000501 14:35 gmt -3 2000-05-01 16:36:25 +00:00
Luiz Rafael Culik
08ba891433 see changelog 20000501 14:40 gmt -3 2000-05-01 16:34:19 +00:00
Viktor Szakats
69df442a66 20000501-18:05 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 16:02:51 +00:00
Viktor Szakats
d2a2b542ea 20000501-17:42 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 15:48:24 +00:00
Viktor Szakats
778c316fa5 20000501-16:08 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 14:05:47 +00:00
Ryszard Glab
e3ea62558f ChangeLog 20000501-15:45 GMT+1 2000-05-01 13:38:43 +00:00
Viktor Szakats
59de373782 20000501-15:37 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-05-01 13:34:46 +00:00
Luiz Rafael Culik
e9b7daf9cc see changelog 20000501 08:10 gmt -3 2000-05-01 11:11:48 +00:00
Luiz Rafael Culik
ed83db5b9a e
see changelog 20000501 08:00 gmt -3
2000-05-01 11:05:16 +00:00
Luiz Rafael Culik
f0c8c5177b *** empty log message *** 2000-05-01 11:04:01 +00:00
Luiz Rafael Culik
9e7d0ecd3a See changelog 20000501 08:00 gmt -3 2000-05-01 10:54:51 +00:00
Luiz Rafael Culik
78c37f4271 see changelog 20000501 08:00 gmt -3 2000-05-01 10:52:33 +00:00
Ron Pinkas
f7f9ded3f0 20000501-01:52 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
      * Minor Enhancements to hb_compStrongType()

    * tests/testwarn.prg
      + Added code to demonstrate more warnings.
2000-05-01 08:53:07 +00:00