Commit Graph

2959 Commits

Author SHA1 Message Date
Ron Pinkas
31f151b6ae 2000-06-06 20:10 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/compiler/cmdcheck.c
      + Implemented support for -m

    * include/hbcomp.h
      + Added structure _HARBVARS to hold Harbour Session Variables
      + Added structure +AUTOOPEN to hold names of external modules already compiled.

    * source/compiler/harbour.c
      + Moved the parsing/compiling logic into new hb_compCompile()
      + Added:
		static void hb_compAutoOpenAdd( char * szName );
		static BOOL hb_compAutoOpenFind( char * szName );
		static void hb_compSaveVars( PHARBVARS, int );
		static void hb_compRestoreVars( PHARBVARS, int );

    * source/compiler/harbour.l
      + Added:
		void * hb_compGet_YY_CURRENT_BUFFER()
		void hb_compSet_YY_CURRENT_BUFFER( void * pBuffer )
		int hb_compGet_yy_init( void )
		void hb_compSet_yy_init( int i )
		int hb_compGet_yy_start( void )
		void hb_compSet_yy_start( int i )
		int hb_compGet_yy_did_buffer_switch_on_eof( void )
		void hb_compSet_yy_did_buffer_switch_on_eof( int i )

     * source/compiler/harbour.y
       + Added logic to call hb_compCompile() when DO ... or DO ... WITH
       + Added:
		void * hb_compGet_pLoops( void )
		void hb_compSet_pLoops( void * pLoops )
		void * hb_compGet_rtvars( void )
		void hb_compSet_rtvars( void * rtvars )

      *	source/compiler/hbusage.c
	+ Added display of -m compiler switch

Please note:

1. Implementation is practicaly completed, but there is one known issue to be resolved: Once we open and compile
   an external module, the very next prg line in the parent prg is not processed, I would love to get some assistance
   with this - Ryszard, Antonio, Victor, Paul? as I am seriously limited with time over this week.
   It seems I am not saving one of Bison/Flex vars, so my restore of the previous session is not complete :-(

2. Clipper seem to have a bug, on the following code:
   DO WHILE WITH ...
   Clipper will attempt to compile external "WITH.PRG" instead of "WHILE.PRG", can any one advise if I am missing something here...
   In our implementation the above line will attemp to compile "WHILE.PRG"
2000-06-07 03:47:47 +00:00
Ron Pinkas
743e74b93c 2000-06-05 19:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     * Changed hb_pp_SetRules() to only default to .CH extension, if file name as supplied without extension was not found.
     ! Improved Messages to report various possible conditions.
2000-06-06 02:51:06 +00:00
Antonio Linares
d667f61d30 *** empty log message *** 2000-06-05 12:56:33 +00:00
Antonio Linares
bd14fd408c 2000-06-05 14:52 GMT+1 2000-06-05 12:52:06 +00:00
Ron Pinkas
d19e6ae858 2000-06-04 17:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com>
* source/pp/ppcore.c
     ! Corrected compiler warning
     ! Corrected @ after ; missing trailing space.
2000-06-05 00:37:14 +00:00
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
Viktor Szakats
70a2fb3af2 2000-06-04 18:51 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-04 16:52:42 +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
Luiz Rafael Culik
20ca34280c *** empty log message *** 2000-06-04 15:59:18 +00:00
Luiz Rafael Culik
0a045ab066 See changelog 20000604-09:20 GMT -3 2000-06-04 15:52:42 +00:00
Viktor Szakats
233fc41349 2000-06-04 17:52 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-04 15:48:43 +00:00
Luiz Rafael Culik
5bbb1a224c See changelog 20000604-09:20 GMT -3 2000-06-04 12:24:05 +00:00
Antonio Linares
2bdeb57dc6 *** empty log message *** 2000-06-04 12:21:46 +00:00
Antonio Linares
87ef7ca7fc 20000604-13:53 GMT+1 alinares 2000-06-04 11:53:02 +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
Viktor Szakats
f85f1fa13c 2000-06-03 13:36 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 11:33:06 +00:00
Viktor Szakats
fb2863f778 2000-06-03 10:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 08:49:29 +00:00
Viktor Szakats
25879cbf80 2000-06-03 01:13 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 08:38:45 +00:00
Viktor Szakats
4665c518e9 2000-06-03 01:13 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-03 07:57:02 +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
Viktor Szakats
7b24fd3601 2000-06-02 19:56 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 17:53:00 +00:00
Viktor Szakats
09aa8486ae 2000-06-02 15:39 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 13:35:29 +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
5256c88bb8 2000-06-02 04:00 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 02:47:18 +00:00
Viktor Szakats
6be58420c8 2000-06-02 02:54 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 01:55:16 +00:00
Viktor Szakats
d13e8ab76f 2000-06-02 02:54 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 01:34:35 +00:00
Viktor Szakats
3cdcdb805f 2000-06-02 02:54 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-02 00:51:40 +00:00
Viktor Szakats
a5d9c94592 2000-06-01 22:18 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-06-01 20:15:54 +00:00
David G. Holm
59ceb9aa21 See ChangeLog entry 2000-06-01 15:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-06-01 19:41:09 +00:00
Ryszard Glab
acd2b4e081 ChangeLog 20000601-20:40 UTC+0100 2000-06-01 18:34:47 +00:00
David G. Holm
fea7b1045b See ChangeLog entry 2000-06-01 12:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-06-01 16:30:01 +00:00
Luiz Rafael Culik
81f890cb3e See changelog 20000531-23:20 GMT -3 2000-06-01 02:42:39 +00:00
Luiz Rafael Culik
e975d02e59 See changelog 20000531-23:20 GMT -3 2000-06-01 02:31:26 +00:00
Luiz Rafael Culik
4f04e06be1 see changelog 20000531-23:20 GMT -3 2000-06-01 02:24:51 +00:00
Luiz Rafael Culik
34da417e79 See changelog 20000531-21:20 gmt-3 2000-06-01 00:22:22 +00:00
Viktor Szakats
ce08e02654 2000-05-31 23:57 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 21:53:43 +00:00
Viktor Szakats
cc8e3b98d6 2000-05-31 23:43 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 21:47:19 +00:00
Maurilio Longo
b39d909ac4 20000531-22:15 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-05-31 20:19:07 +00:00
Viktor Szakats
19e3bbe4d5 2000-05-31 13:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 12:04:56 +00:00
Viktor Szakats
fdcb3bf6c4 2000-05-31 13:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 11:55:49 +00:00
Viktor Szakats
07088ae6a6 2000-05-31 13:53 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-05-31 11:54:28 +00:00
Luiz Rafael Culik
2c39ddf384 *** empty log message *** 2000-05-31 02:28:09 +00:00
Chen Kedem
955f4bb9ab 2000-05-30 10:30 UTC+0300 Chen Kedem <niki@actcom.co.il> 2000-05-30 07:30:55 +00:00
Luiz Rafael Culik
680a010c14 *** empty log message *** 2000-05-30 00:09:32 +00:00
Luiz Rafael Culik
b1d08bf077 see changelog 20000529-21:00 gmt -3 2000-05-30 00:01:44 +00:00
Luiz Rafael Culik
4e16d37524 See changelog 20000529-21:00 gmt-3 2000-05-29 23:59:15 +00:00