Commit Graph

864 Commits

Author SHA1 Message Date
Ryszard Glab
47e68c5b5b ChangeLog 2000-08-02 21:10 UTC+0100 2000-08-02 19:04:42 +00:00
Maurilio Longo
9d50b20089 20000802-12:58 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-08-02 11:04:22 +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
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
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
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
Viktor Szakats
f1c10aae9d 2000-07-29 03:28 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-29 01:39:59 +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
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
Ryszard Glab
61bfbad10a ChangeLog 2000-07-27 19:50 UTC+0100 2000-07-27 17:44:41 +00:00
Ron Pinkas
f033a312f8 2000-07-27 03:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Removed rule for ignoring empty lines, to fix incorrect line numbers in warnigs and errors.
2000-07-27 10:52:48 +00:00
Ron Pinkas
61fc20ffda Corrected other instance of pVar->iDeclLine to use hb_comp_iCompiled 2000-07-27 08:51:00 +00:00
Ron Pinkas
f8e8ba7897 2000-07-27 01:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.c
     ! Corrected pVar->iDeclLine line number

   * source/compiler/hbgenerr.c
     ! Corrcted intermitent GPF when hb_compGenWarning() was called with NULL hb_comp_files.pLast
2000-07-27 08:48:17 +00:00
Ron Pinkas
430ab633c5 2000-07-25 22:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Converted CUSTOM_ACTION() macro to a function (hb_lex_CustomAction()).
2000-07-26 05:35:19 +00:00
Ron Pinkas
c552e00b51 2000-07-25 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.bc
     * Sinchronized with recent changes to makefile.bc
     + Added ;source\compiler to $(INCLUDE)

   * source/compiler/harbour.slx
     + Added logic to support 2 imediately following identifiers as needed by: DECLARE ClassName ClassVar ...

   + contrib/hb_struc
   + contrib/hb_struc/hbstruc.ch
   + contrib/hb_struc/hbstruc.prg
   + contrib/hb_struc/teststru.prg
2000-07-25 16:36:02 +00:00
Ron Pinkas
6aa2f45f5b 2000-07-22 23:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     ! Optimized handling of Hex Numbers.
     + Added hash support for literal strings.
     * Increased aTexts[] to 1024

   * source/compiler/simplex.c
     ! Removed todo of pair action.
2000-07-23 06:32:31 +00:00
Alexander S.Kresin
f59a96e84f 2000-07-22 23:08 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-07-22 19:17:46 +00:00
Ryszard Glab
f3fd7233db ChangeLog 2000-07-16 17:40 UTC+0100 2000-07-16 15:37:11 +00:00
Ryszard Glab
ffe49c60fd ChangeLog 2000-07-15 20:00 UTC+0100 2000-07-15 17:50:44 +00:00
Ron Pinkas
b3e611d907 2000-07-14 22:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     ! Removed Todo: Hex Numbers. There are no more known TODOs.
2000-07-15 05:42:12 +00:00
Ron Pinkas
7fdc515e94 2000-07-14 09:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/simplex.c
     ! Minor correction, to accept a match, if all rule's tokens used.
2000-07-14 16:42:37 +00:00
Ron Pinkas
de94c9d0b3 2000-07-13 19:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     ! Removed excess characters at end of #undef directives.
2000-07-14 02:01:43 +00:00
Ron Pinkas
9de1dac58e 2000-07-13 07:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Corrected premature release of MACROTEXT
2000-07-13 14:45:21 +00:00
Ron Pinkas
531c38c9f8 2000-07-12 20:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/harbour.slx
     * Corrected support for PARAMETERS
     + Added type casts to allow c++ mode compilation

   * source/compiler/simplex.c
     - Removed unused vars.
     + Added type casts to allow c++ mode compilation
2000-07-13 03:45:45 +00:00
David G. Holm
753c7cc298 2000-07-12 12:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-07-12 16:41:36 +00:00
Maurilio Longo
c4dfba86e4 20000712-18:18 GMT+2 Maurilio Longo <maurilio.longo@libero.it> 2000-07-12 16:26:03 +00:00
Ryszard Glab
7f4edde7c8 ChangeLog 2000-07-12 10:25 UTC+0100 2000-07-12 08:19:34 +00:00
Viktor Szakats
7a5701da69 2000-07-12 08:46 UTC+0100 Victor Szakats <info@szelvesz.hu> 2000-07-12 07:29:09 +00:00
Ron Pinkas
fc355a3bac 2000-07-11 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.bc
     * Updated to match makefile.bc

   * source/compiler/harbour.l
   * source/compiler/harbour.c
     - Removed refrences to hb_compReleaseStrings()

   * source/compiler/harbour.slx
     * Changed identifier reuse logic to use hb_compIdentifierNew()
2000-07-11 16:48:10 +00:00
Ryszard Glab
1ceccebaf4 ChangeLog 2000-07-11 12:00 UTC+0100 2000-07-11 11:02:16 +00:00
Ron Pinkas
de70fac98b 2000-07-10 20:25 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
   * source/compiler/harbour.y
   * source/compiler/hbgenerr.c
     - Removed hb_comp_szFile

   * source/compiler/harbour.slx
     * Reduced aStrings and YY_BUF_SIZE to 2048

   * source/compiler/simplex.c
     + Added RTL license exception.
2000-07-11 03:29:43 +00:00
Ryszard Glab
24a16531ea ChangeLog 2000-07-10 11:10 UTC+0100 2000-07-10 09:03:42 +00:00
Ron Pinkas
1d9fdf35aa 2000-07-09 01:02 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hbcomp.h
     + Added: external BOOL hb_comp_bSimpLex

   * source/compiler/harbour.c
     + Added: BOOL hb_comp_bSimpLex
     + Added: if( hb_comp_bSimpLex ) tests before releasing name strings of vars, and symbols.
     + Added: call to hb_compReleaseStrings(), if hb_comp_SimpLes is TRUE, after code generation.

   * source/compiler/harbour.slx
     + Added: logic to resuse same allocated strings when string for identifier was perviously allocated.
     + Added: INIT_ACTION macro to set hb_comp_bSimpLex to TRUE.
     + Added: Function hb_compReleaseStrings()

   * source/compiler/harbour.l
     + Added: empty Function hb_compReleaseStrings() to avoid link error.

   * source/compiler/hbslex.c
   * source/compiler/simplex.c
     * Moved standard #includes from simplex to hbslex.
2000-07-09 08:34:21 +00:00
Ron Pinkas
8d1cb942ee 2000-07-08 19:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source\compiler\simplex.c
  * source\compiler\harbour.slx
    * Short term copies dynamic memory copies of yytext are being released at <EOL>.
2000-07-09 02:50:37 +00:00
Ron Pinkas
0f31168af5 2000-07-08 15:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source\compiler\simplex.c
    * Improved handling of WhiteSpace, NewLine, and Eof.

  * source\compiler\harbour.slx
    + Added rule to return only last CR in sequence of empty lines.
2000-07-08 22:15:46 +00:00
Ron Pinkas
0ffa8abdf3 commented SHOW_TOKENS in harbour.slx 2000-07-08 00:51:49 +00:00
Ron Pinkas
0f6294e523 - include\harbour.slx
- source\compiler\harbourl.c

  + b32_slex.bat
  + hb_slex.bc

  + source\compiler\hbslex.c
  + source\compiler\simplex.c
  + source\compiler\harbour.slx
2000-07-08 00:27:47 +00:00