Commit Graph

2171 Commits

Author SHA1 Message Date
David G. Holm
2cb19f8a88 See ChangeLog entry 2000-08-04 19:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-08-04 23:03:59 +00:00
Ron Pinkas
c0d549bb9d 2000-08-03 18:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/macro/macro.slx
   * source/compiler/harbour.slx
     + Added (int) casting to isalpha() parameter calls.

   * source/compiler/hbslex.c
     * Removed extra empty line.

   * include/hberrors.h
     + Added #define HB_PP_ERR_TOO_MANY_INCLUDES 17

   * source/pp/ppcore.c
     + Addded: #define HB_PP_MAX_INCLUDES FOPEN_MAX - 5 - 1 (Victor ?)
     + Added : "Too many nested #includes, can\'t open: \'%s\'"
     + Added logic to protect against too many nested includes.
2000-08-04 19:54:25 +00:00
Ron Pinkas
209fbcb4ac 2000-08-03 18:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
    * Added call to hb_pp_init() between multiple prg compilations.
2000-08-04 01:49:00 +00:00
Maurilio Longo
ceb3b502aa 20000803-13:13 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-08-03 11:16:47 +00:00
Ron Pinkas
9af55ea917 2000-08-03 01:55 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
     * Removed #define HB_PP_ERR_INCLUDE_CYCLIC

   * source/pp/ppcore.c
     * Removed Cyclic #include detection logic.

  * source/compiler/simplex.c
    * Removed some unneeded comments.
2000-08-03 09:03:44 +00:00
Ron Pinkas
a04e873b2e 2000-08-02 19:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
     * Changed #define HB_PP_ERR_INCLUDE_SELF to HB_PP_ERR_INCLUDE_CYCLIC

   * source/pp/ppcore.c
     * Changed "Can\'t #include self \'%s\'" to "Cyclic #include not allowed: \'%s\'"
     * Changed self refernce #include detection, to detect any #include of an already opened file.
2000-08-03 02:53:33 +00:00
Ron Pinkas
1a7632b428 2000-08-02 14:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.l
     * Changed USUAL to ANYTYPE
2000-08-02 21:10:13 +00:00
Ron Pinkas
52ad519676 2000-08-02 14:05 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Changed VARIANT to ANYTYPE as it appear to be the prefered choice.

   * source/compiler/hbpcode.c
     * Changed \[ to [ to correct compiler warnings.
     * Changed Usual. to AnyType.
2000-08-02 21:07:29 +00:00
Ryszard Glab
47e68c5b5b ChangeLog 2000-08-02 21:10 UTC+0100 2000-08-02 19:04:42 +00:00
Ron Pinkas
038f3838d8 2000-08-02 11:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.bc
   * makefile.bc
     + Added: -Phb_comp -C to Flex (macro.l) as per GNU make.
     + Added: -phb_comp to Bison (macro.y) as per GNU make.

     /* We might need same change in other make files (VC etc.) */
     /* BTW, Do we have SimpLex support in those other make files? */

   * source/macro/macro.l
   * source/macro/macro.y
     - Removed: #define yylex hb_complex

   * source/macro/macroslx.c
     - Removed un-needed comment.

   * source/pp/ppcore.c
     ! Fixed unintended side effect of UPPER-CASING #include file names.
2000-08-02 18:35:20 +00:00
Ron Pinkas
685b646051 2000-08-02 09:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/macro/macro.l
   * source/macro/macro.y
     + Added: #define yylex hb_complex

   * source/pp/ppcore.c
     + Added check for the file path when checking self reference of #include.
     + Added logic to ignore case when checing self reference of #include.
2000-08-02 16:43:49 +00:00
Maurilio Longo
9d50b20089 20000802-12:58 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-08-02 11:04:22 +00:00
Ron Pinkas
ed8a203200 2000-08-01 20:15 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
     + Added: #define HB_PP_ERR_INCLUDE_SELF                  17

   * source/pp/ppcore.c
     + Added Error: "Can\'t #include self \'%s\'"
     + Added logic to detect self referncing #include directive.
2000-08-02 03:19:43 +00:00
Viktor Szakats
19940ce68b 2000-08-02 03:31 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-08-02 01:32:35 +00:00
Viktor Szakats
f29fce5395 2000-08-02 03:14 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-08-02 01:17:26 +00:00
Maurilio Longo
6d53f541ed 20000801-21:55 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-08-01 20:03:07 +00:00
Ron Pinkas
6ddbb5b481 2000-08-01 12:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/cmdcheck.c
     + Added support for "new style" switches specs, for command line arguments.

     /* Note: */ I did *not* implement same for the Environment Variables parsing.
2000-08-01 19:19:40 +00:00
Viktor Szakats
756cb0912a 2000-08-01 21:03 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-08-01 19:07:01 +00:00
Maurilio Longo
4001919af0 20000801-19:28 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-08-01 17:27:48 +00:00
Ryszard Glab
39596ad2dd ChangeLog 2000-08-01 18:20 UTC+0100 2000-08-01 16:17:13 +00:00
Ron Pinkas
dfeb227c89 2000-07-31 20:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/cmdcheck.c
     + Added support for multiple switches, without seperator, like: -n-w
2000-08-01 03:24:43 +00:00
Ron Pinkas
30eb28b233 2000-07-31 18:20 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     - Removed few redundant rules.
     + Added logic to check for orphan LOOP, EXIT, or NEXT, and produce standard errors.
     + Added check to check for &', &", or &[, and produce standard error.

   * source/macro/macro.slx
     + Added logic to check for &', &", or &[, and produce standard error.
     * Minor formating.
2000-08-01 01:23:20 +00:00
Andi Jahja
54bb356dc8 Bug Fixes On Line Commands 2000-07-31 23:48:23 +00:00
Ron Pinkas
e09d364512 2000-07-31 09:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/simplex.c
   * source/macro/macro.slx
     ! Corrected compiler warnings

   * tests/testwarn.prg
   * utils/hbdoc/ft_funcs.prg
     * Commented AS USUAL until votes results tabulated
2000-07-31 15:58:41 +00:00
David G. Holm
5b5d8b099c See ChangeLog entry 2000-07-31 11:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-31 15:36:17 +00:00
Maurilio Longo
ac896e85e9 20000731-09:18 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-07-31 07:18:40 +00:00
Maurilio Longo
17614b7b2e 20000731-09:00 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-07-31 07:15:18 +00:00
Ron Pinkas
ae598156ee 2000-07-30 22:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/macro/macro.slx
    ! Corrected unreleased memory block.

  * source/compiler/harbour.slx
    ! Corrected unreleased memory block.
2000-07-31 05:50:35 +00:00
Ron Pinkas
1207146d98 2000-07-30 21:15 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/macro/macro.slx
    ! Corrected 1 unreleased memory block.

  * source/compiler/harbour.slx
    - Removed unneeded comment.

  * source/compiler/simplex.c
    * Changed void yy_bytes_buffer() to void *.
2000-07-31 04:17:09 +00:00
Ron Pinkas
3d37397709 2000-07-30 17:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
+ source/macro/macro.slx
  + source/macro/macroslx.c
    + Added SimpLex based macro lexer

  * hb_slex.bc
    * Modified to use SimpLex based macro support.
    /* Could some one please add same to GNU make system? */

  * source/compiler/simplex.c
    * Added void yy_bytes_buffer()
2000-07-31 00:33:45 +00:00
Ron Pinkas
735d0f072a 2000-07-30 12:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
    - Removed AS CHARACTER, AS BOOLEAN, AS OBJ, AS NUM
      /* Left AS VARIANT and AS USUAL until vote results tabulated. */

  * utils/hbdoc/ft_funcs.prg
    * Changed AS CHAR -> AS STRING and AS NUM to AS NUMERIC

  * source/compiler/simplex.c
    * Changed to use YY_DECL macro in declaration of yylex()
2000-07-30 19:53:23 +00:00
Viktor Szakats
d8ee9cee66 2000-07-30 14:32 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-30 12:50:35 +00:00
Viktor Szakats
2f43451c9d 2000-07-30 14:32 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-30 12:44:49 +00:00
Viktor Szakats
15f35769d9 2000-07-29 17:34 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 15:35:34 +00:00
Viktor Szakats
77e2ebbac6 2000-07-29 17:25 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 15:29:58 +00:00
Ron Pinkas
8ba6374685 2000-07-29 07:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
    + Added 2 rules to support DECLARE MACROVAR and DECLARE MACRO TEXT

  * tests/testdecl.prg
    ! Fixed to allow it to be run without RT Error
2000-07-29 14:54:10 +00:00
Ryszard Glab
2493328906 ChangeLog 2000-07-29 15:55 UTC+0100 2000-07-29 13:48:20 +00:00
Ryszard Glab
7b75b62b6e ChangeLog 2000-07-29 09:45 UTC+0100 2000-07-29 07:36:06 +00:00
David G. Holm
a734baf1de See ChangeLog entry 2000-07-28 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-29 07:22:31 +00:00
Viktor Szakats
f1c10aae9d 2000-07-29 03:28 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 01:39:59 +00:00
Viktor Szakats
0b3b9495bc 2000-07-29 03:16 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 01:19:12 +00:00
Viktor Szakats
b5de74126f 2000-07-29 03:08 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 01:11:06 +00:00
Viktor Szakats
4874336088 2000-07-29 02:58 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 01:04:53 +00:00
Ron Pinkas
ffa6630674 2000-07-28 14:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     + Added logic to account for HB_SYMBOL_NAME_LEN
     + Added 2 rules to support DECLARE SomeVar as in PRIVATE SomeVar as oppose to Strong Type DECLARE SomeClass SomeVar ...

   + tests/testdecl.prg
     + Added test program to utilize the DECLARE in its different contexts.
2000-07-28 21:03:36 +00:00
David G. Holm
a831db075e See ChangeLog entry 2000-07-28 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-28 19:05:04 +00:00
Ryszard Glab
433ae6a7f3 ChangeLog 2000-07-28 18:15 UTC+0100 2000-07-28 16:10:49 +00:00
Ron Pinkas
a0b295de08 2000-07-28 06:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
+ doc/simplex.txt
     + Added 1st draft of SimpLex documentation.

   * source/compiler/simplex.c
     + Added overidable macro STREAM_EXCEPTION()

   * source/compiler/harbour.l
     * Modified to return every \n to correct line numbers reporting.
       /* Note: removed note about . after \n, I beleive it was needed to avoid conflict with $ which is no longer used,
          and should be avoided, due to few other side effects. */

   source/compiler/harbour.slx
     * Standadized un-terminated strings messages.
2000-07-28 13:37:51 +00:00
David G. Holm
6c77f49ebc See ChangeLog entry 2000-07-27 18:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-27 22:38:07 +00:00
Jean-Francois Lefebvre
44432ddd56 2000-07-28 00:05 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> 2000-07-27 22:04:48 +00:00
Ryszard Glab
61bfbad10a ChangeLog 2000-07-27 19:50 UTC+0100 2000-07-27 17:44:41 +00:00