Commit Graph

107 Commits

Author SHA1 Message Date
Ron Pinkas
1dbf8d3fcc 2000-06-04 11:16 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcomp.c
   * source/pp/ppcore.c
     ! Corrected compiler warnings
2000-06-04 18:47:53 +00:00
Ron Pinkas
9309b9f3c5 2000-06-04 09:40 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Changed case of '@' in hb_pp_RdStr() to only add missing space when in the begining of a new line.
2000-06-04 16:42:03 +00:00
Ron Pinkas
29eb8c65fa 2000-06-04 03:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Commented fix 2000-06-02 14:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> until more complete solution
2000-06-04 10:52:40 +00:00
Ron Pinkas
d4785143b3 2000-06-04 03:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Corrected error message in SetRules() to report filename with default extension.
2000-06-04 10:33:56 +00:00
Ron Pinkas
fa68f5d2d8 2000-06-04 03:25 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Added \n to error message in SetRules()
2000-06-04 10:26:54 +00:00
Ron Pinkas
a3a61fd11d 2000-06-04 03:05 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbcomp.h
     + Added: extern char *        hb_pp_STD_CH;

   * include/hbpp.h
     + Added: extern void hb_pp_SetRules( BOOL (*hb_compInclude)(char *, PATHNAMES * ) );

   * source/compiler/hbusage.c
   * source/compiler/harbour.c
   * source/compiler/cmdcheck.c
     + Added support for -u[FileName]
     - Removed TODO for -u

   * source/pp/ppcomp.c
     + Added hb_pp_ReadRules() - Logic to process directives from user supplied command defs.

   * source/pp/ppcore.c
     + Added hb_pp_SetRules() - Logic to use predefined rules, none, or user defined.

   * source/pp/pptable.c
     + Added hb_pp_Table() - Moved predefined rules into this function, to allow for conditional use.
2000-06-04 10:12:52 +00:00
Ron Pinkas
dc5211fc52 2000-06-02 14:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     ! Added logic to CommandStuff() to fix problem with Keyword or Match Marker are matched after non provided multiple optional patterns.
2000-06-02 21:57:13 +00:00
Ron Pinkas
4c2db1057e 2000-06-02 02:05 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     ! Added logic to hb_pp_RdStr() to fix problem with Macro Terminator (.) without a macro suffix.
2000-06-02 09:09:18 +00:00
Ron Pinkas
6f3355a896 2000-06-01 21:15 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     + Added case '@' to hb_pp_RdStr() to fix problem with @ not followed by a space.
2000-06-02 04:24:39 +00:00
Viktor Szakats
be81ee127d 2000-05-27 23:12 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-28 19:52:03 +00:00
Ron Pinkas
04837b2eaa 2000-05-22 10:40 UTC-800 Ron Pinkas <Ron@Profit-Master.com>
* include/hbvmpub.h
     * Modified HB_FS_FIRST to  ( ( HB_SYMBOLSCOPE ) 0x04 )

   * source/compiler/harbour.c
     * Minor optimization when storing HB_FS_FIRST

   * source/pp/pptable.c
     - Removed built-in rule, for STRUCTURE support

   * source/vm/runner.c
     ! Fixed bug when there is no startup procedure

   * source/rtl/tclass.prg
     - Removed HB_Structure()

   * include/hbextern.ch
     * Moved EXTERNAL HB_STRUCTURE to separate section

   * tests/teststru.prg
     + added #INCLUDE "..\Include\HBSTRUC.CH"

   + include/hbstruc.ch

   + source/rtl/hbstruc.prg

   * makefile.bc
     + Added rules for hbstruc.prg
2000-05-26 07:39:42 +00:00
Ron Pinkas
9f05928bd2 20000522-10:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/hbpcode.c
     ! Fixed ambigious else in hb_StrongType()

   * source/pp/pptable.c
     ! Fixed STRUCTURE rule to allow nesting of structures.

   * tests/teststru.prg
     * Enhanced to demonstrate Structure as element of other structure and self reference capabilities.
2000-05-23 01:31:34 +00:00
Ron Pinkas
eb2d8afdb4 20000522-06:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/harbour.l
     + Added "as structure", "as stru", "as array of structure", "as array of stru"

   * source/compiler/hbpcode.c
     * Improved some logic in hb_StrongType()

   * source/vm/hvm.c
     ! Corrected startup symbol when having to use Main() as per Ryszard.

   * source/pp/pptable.c
     + Added the equivalent of:
        #COMMANDS STRUCTURE <StruName> <Var1> AS <Type1> [, <VarN> AS <TypeN> ] => ;
                  STATIC __<StruName> := {|| IF( __<StruName> == NIL, , ) , HB_Structure( <"StruName">, { <"Var1"> [, <"VarN">] } )} ;;
                  DECLARE <StruName> <Var1> AS <Type1> [ <VarN> AS <TypeN> ] ;;
                  #TRANSLATE AS NEW <ClassName> => AS CLASS <StruName> := ( Eval( __<StruName> ), HB_Structure( <StruName> ) )

	#TRANSLATE AS NEW <ClassName> => AS CLASS <ClassName> := <ClassName>():New()

   * source/rtl/tclass.prg
     + Added Function HB_Structure() ( Fully Declared! ) This function is used internally, but may be freely called from Clipper level.
       It Aceepts Parameter 1 Structure Name, and optional parameter 2, as array of structure variable names.
       If called with 2nd parameter, returns NIL (just creates the new Structure), if called with just parameter 1, it returns
       new instance of defined structure.

   + tests\teststru.prg
     + Added demo for new structure syntax
2000-05-22 13:53:14 +00:00
Ryszard Glab
9f23de3925 ChangeLog 20000425-12:40 GMT+1 2000-04-25 10:37:40 +00:00
Viktor Szakats
cb94df2cb3 20000423-14:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-23 12:29:33 +00:00
David G. Holm
76629ea7ab See ChangeLog entry 2000-04-17 14:40 GMT-4 David G. Holm <dholm@jsd-llc.com> 2000-04-17 18:46:05 +00:00
Viktor Szakats
8440262da1 20000415-12:38 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-15 10:36:42 +00:00
Viktor Szakats
e12b9dd9e9 20000411-13:12 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-11 11:17:46 +00:00
Viktor Szakats
47a17d7ece 20000411-00:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-10 22:33:43 +00:00
Alexander S.Kresin
7fcd9edf80 20000405-14:28 GMT+3 2000-04-05 10:31:29 +00:00
Viktor Szakats
0d6331bd82 20000404-12:13 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-04 10:10:22 +00:00
Viktor Szakats
c7333102d0 20000404-03:24 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-04 01:27:00 +00:00
Viktor Szakats
c58df7356f 20000403-22:20 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-03 20:18:59 +00:00
Viktor Szakats
7a8980eaa6 20000402-16:17 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-04-02 14:17:28 +00:00
Viktor Szakats
e41d4b48f1 20000331-01:02 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-30 23:01:28 +00:00
Alexander S.Kresin
7eba7dba8d 20000328-23:10 GMT+3 Alexander Kresin 2000-03-28 19:19:07 +00:00
Viktor Szakats
d744a5319a 20000327-21:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-27 19:42:04 +00:00
Viktor Szakats
4a1e1ffc6e 20000326-08:06 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-26 06:15:04 +00:00
Viktor Szakats
17795ae485 20000321-15:08 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-21 14:12:00 +00:00
Viktor Szakats
859d976666 20000321-12:32 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-21 11:40:25 +00:00
Paul Tucker
13b879d8cd Clear struct on Undef 2000-03-19 19:37:34 +00:00
Viktor Szakats
10accb5458 20000319-17:47 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-19 17:05:17 +00:00
Viktor Szakats
4902ebbe7d 20000318-02:37 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-18 01:45:21 +00:00
Viktor Szakats
2f5082bdc8 20000317-10:53 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-17 09:53:55 +00:00
Alexander S.Kresin
4aad1f1710 Updating preprocessor files 2000-03-17 07:02:11 +00:00
Viktor Szakats
f900647f3f 20000316-02:04 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-16 01:03:14 +00:00
Viktor Szakats
d30c00ebbe 20000315-16:23 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-15 15:23:49 +00:00
Viktor Szakats
28d912ee09 20000315-14:28 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-15 13:32:17 +00:00
Viktor Szakats
b268b9a1ee 20000315-08:08 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-15 07:32:26 +00:00
Viktor Szakats
a49700b2da 20000307-12:35 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-07 11:41:00 +00:00
Viktor Szakats
3f335033d4 20000306-13:25 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-06 12:38:23 +00:00
Viktor Szakats
c124d2959e 20000302-20:44 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-02 19:49:22 +00:00
Viktor Szakats
3e3819e705 20000302-11:21 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-02 11:58:22 +00:00
Ryszard Glab
3aa7c99ce6 ChangeLog 20000302-12:35 GMT+1 2000-03-02 11:19:18 +00:00
Viktor Szakats
176ed31f81 20000301-03:04 GMT+1 Victor Szakats <info@szelvesz.hu> 2000-03-01 02:04:02 +00:00
Alexander S.Kresin
ad8327bf1b Added cast to pp files 2000-02-21 11:59:44 +00:00
Alexander S.Kresin
60b1bd6adb Updating pp files 2000-02-20 17:04:57 +00:00
Alexander S.Kresin
9c36e91949 Standalone pp corrected 2000-02-18 18:35:47 +00:00
Alexander S.Kresin
ebd86942df Updating pp files 2000-02-18 12:24:01 +00:00
Paul Tucker
f10493d342 Add cast 2000-02-17 20:20:20 +00:00