Commit Graph

230 Commits

Author SHA1 Message Date
Alexander S.Kresin
ef790a0a55 2002-01-15 20:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-01-15 17:41:13 +00:00
Alexander S.Kresin
50b9610280 2002-01-10 17:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2002-01-10 14:21:09 +00:00
Antonio Linares
60dcc0ef41 STOPDUMP renamed as ENDDUMP 2001-12-21 11:46:52 +00:00
Viktor Szakats
e1f892788e 2001-12-14 10:17 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-12-14 09:32:52 +00:00
Jean-Francois Lefebvre
bd60121114 2001-12-11 23:40 UTC+0100 JFL (Mafact) <jfl@mafact.com> 2001-12-11 22:34:51 +00:00
Alexander S.Kresin
a28c708abc 2001-10-27 20:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-10-27 16:15:08 +00:00
Alexander S.Kresin
5f314016e2 2001-10-15 09:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-10-15 05:13:40 +00:00
Alexander S.Kresin
12625f5a8e 2001-10-11 21:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-10-11 17:42:01 +00:00
Brian Hays
8ee6ee64f9 2001-08-20 11:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> 2001-08-21 06:55:25 +00:00
David G. Holm
f708ef92c8 See ChangeLog entry 2001-08-16 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-08-16 20:31:54 +00:00
Alexander S.Kresin
4e9ffa1634 2001-07-16 22:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-07-16 18:56:43 +00:00
Ron Pinkas
184ab4b277 2001-07-12 16:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed bug of translating text within logical tokens (.T., .F., .OR., .AND., and .NOT.) by adding skip logic to md_strAt().
2001-07-12 23:45:11 +00:00
Ron Pinkas
39d55d2d02 2001-07-10 01:55 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/cmdcheck.c
     + Added missing type cast to resolve gcc warning.
   * source/pp/ppcore.c
     + Added missing type cast to resolve gcc warning.
     - Removed 4 redundant #includes already included by included hbcomp.h
2001-07-10 08:53:06 +00:00
Ron Pinkas
1f3307d61c 2001-07-09 22:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Changed PP_Main() to STATIC Main() to have a Main procedure for build that require a MAIN yet avoid conflict if linked with a prg including a MAIN.
   * contrib/dot/pp_harb.ch
     * Wrapped a Windows specific code within #ifdef WIN.
   /* Thanks to input from Tomaž Zupan. */

   * source/pp/ppcore.c
     ! Added a BOOL 2nd parameter to isExpres() to flag a LIST MP. This fixes problem with matching a list exp with an empty component.
2001-07-10 05:02:50 +00:00
Ron Pinkas
c57f209fda 2001-06-22 07:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     + Added logic for new Idenitifier Match Marker <!AnyId!> which will only match Identifiers.
     + Added static BOOL IsIdentifier( char *szProspect )

   * include/hbclass.ch
     ! Changed <name> to <!name!> in 3 VO OO compatibility rules, where regular match marker was TOO generic.
     ! Reinstated default #define HB_CLS_VO
2001-06-22 14:31:24 +00:00
Ron Pinkas
e49056d419 2001-06-21 22:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Added support fort '|' as a continuation token (as in Clipper).

   * include/hbclass.ch
     - Commented out 3 rules used for VO OO compatibility that are TOO generic, and match unexpected input.

   * source/pp/ppcore.c
     - Recommented out test for continuation token at the end of an Expression in isExpres() (after correcting cause for prior reinstatment).
2001-06-22 05:22:42 +00:00
Ron Pinkas
e025c159ab 2001-06-21 18:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     * Reinstated test for continuation token at the end of an Expression in isExpress()
       /* Clipper does not validate extracted expression like that, but Harbour PP has internal dependancy due to matching logic.
          Alexander, Clipper stops an expression when encountering the Anchor of the next NON optional Match Marker.
          Clipper accepts that expression even if it ends with continuation token (like '*').
       */
2001-06-22 01:25:02 +00:00
Ron Pinkas
c09e2a2779 2001-06-21 14:55 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     * Commented out test for continuation token at the end of an Expression in isExpress()
       /* Clipper does not validate extracted expression like that. This solves problem with:
          SAVE ALL LIKE Patt* TO File
        */
2001-06-21 21:52:07 +00:00
David G. Holm
cc172e3091 See ChangeLog entry 2001-06-14 17:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-06-14 21:20:43 +00:00
Alexander S.Kresin
4b57069202 2001-06-10 18:35 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-06-10 14:45:27 +00:00
Alexander S.Kresin
b0a3b8c6e2 2001-06-07 13:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-06-07 09:04:07 +00:00
Alexander S.Kresin
63d7b791a4 2001-06-07 10:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-06-07 06:18:10 +00:00
David G. Holm
eea4a1eb00 See ChangeLog entry 2001-06-06 14:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-06-06 18:49:36 +00:00
David G. Holm
7a5deeffde See ChangeLog entry 2001-06-04 17:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-06-04 21:46:23 +00:00
Alexander S.Kresin
e8e761df94 2001-06-04 16:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-06-04 12:54:34 +00:00
David G. Holm
233b599eff See ChangeLog entry 2001-05-30 14:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2001-05-30 18:16:44 +00:00
Ron Pinkas
efb9abf69c 2001-05-25 12:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     * Few corrections to NextToken() and CompileRule() to match Clipper behaviour regrding decimal point, and decimal numbers.

   * source/pp/ppcore.c
     - Removed unused variable as per compiler warning.

   * source/vm/hvm.c
     ! Fixed HB_P_POPFIELD and HB_P_POPVARIABLE to NOT pop top stack element pre-maturely.
       Item is now pop only after assignment took place. This fixes problem where the FieldPut rutine had to use the stack,
       thus overriding the assigned item.
2001-05-25 19:18:50 +00:00
Viktor Szakats
37b052fc7a 2001-05-15 15:02 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu> 2001-05-15 13:02:07 +00:00
Ron Pinkas
49c45dda27 2001-05-11 09:00 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbclass.ch
     ! Fixed declaration support for OnError() METHODS
     ! Fixed support for Methods having space prefixing the "( ... )" in the method implementation.
     + Refined #error messages to report the Class Name .

   * source/pp/ppcore.c
     * Removed recently added but not required support of #define expansion in #error directive.
2001-05-11 16:06:37 +00:00
Ron Pinkas
00edd906cf 2001-05-10 15:30 UTC-0800 Ron Pinkas <ron@profit-master.com>
* include/hbclass.ch
     + Added logic for NO Checking of OO Syntax (#ifdef NO_OO_ERR) - Use /dNO_OO_ERR to disable OO Syntax Checking.

   * source/pp/ppcore.c
     * Temporarily disabled support of #define expansion in #error directive.
2001-05-11 00:32:43 +00:00
Ron Pinkas
88d6d4ea34 2001-05-10 14:40 UTC-0800 Ron Pinkas <ron@profit-master.com> 2001-05-10 22:05:54 +00:00
Ron Pinkas
8e3c788bc0 2001-05-03 17:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Corrected minor bug with test for valid string prefixs
     + Added missing valid string prefix (.) (except macro terminator) in getExpReal()
2001-05-04 01:13:35 +00:00
Ron Pinkas
15c9e85a2e 2001-05-02 21:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Corrected bug in getExpReal() where strings could be appended to an invalid expression.
2001-05-03 14:31:58 +00:00
Ron Pinkas
97066f9265 2001-05-02 21:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Correceted bug in getExpReal() where strings could be appended to an invalid expression.
2001-05-03 04:16:35 +00:00
Ron Pinkas
e8ddd4fcb6 2001-03-02 09:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed handling of [Smart] Stringify of a period terminated macro.
2001-03-02 17:16:23 +00:00
Alex Shashkov
d05b38d8d0 2001-02-23 18:10 UTC+0300 Alex Shashkov <shashkov@ostu.ru>
* harbour/source/rtl/console.c
     ! Fixed bug STDOUT(..,"",..) on Watcom C 11.0

   * harbour/source/pp/ppcore.c
   * harbour/source/pp/pragma.c
     ! Fixed extern declaration for Watcom C 11.0
2001-02-24 15:08:27 +00:00
Ron Pinkas
f4be8f3f04 2001-02-22 01:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed NextName() to skip over .AND., .NOT. and .OR.

   * config/w32/mingw32.cf
     + Added rules to use script files for long command lines, but commented out because @scripts did not work.
2001-02-22 09:20:18 +00:00
Ron Pinkas
e77234a86c 2001-02-14 23:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed space removal within [] in strotrim() when not processing MP or RP.
2001-02-15 07:13:03 +00:00
Alexander S.Kresin
498c481e34 2001-02-07 13:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2001-02-07 10:42:04 +00:00
David G. Holm
be6c7f5cfb See ChangeLog entry 2001-02-05 16:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2001-02-05 21:20:06 +00:00
Ron Pinkas
93f31e08c4 2001-01-24 20:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed compilation and parsing of #command of single and bi-char operators
     ! Removed prior hack in hb_pp_RdStr() related to @[&-].

   * source/pp/pptable.c
     ! Fixed compilation of #command ?? [ <list,...> ] => QQOut( <list> )

   /* This [should] finally resolve all prior issues regarding @ and many other problems, of operators as command keys. */
2001-01-25 04:54:17 +00:00
Ron Pinkas
99c5bb3d1f 2001-01-22 00:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
   * source/pp/ppcore.c
     ! Fixed processing of & with stringify.
2001-01-22 08:53:35 +00:00
Ron Pinkas
d51b90e182 2001-01-20 17:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
* hb_slex.vc
     + Added -DSIMPLEX to CLIBFLAGS

   * source/compiler/genc.c
     * Minor correction.

   * utils/hbpp/hbpp.c
   * source/pp/pplib.c
   * include/hbcomp.h
   * source/compiler/harbour.c
     + Added hb_comp_iLinePRG and hb_comp_iLineINLINE

   * source/compiler/harbour.l
   * source/compiler/harbour.slx
   * source/compiler/hbgenerr.c
     + Added logic to disallow multiple HB_INLINE() per source line.

   * source/pp/ppcomp.c
   * source/pp/ppcore.c
   * source/pp/pragma.c
     * Corrected double spacing in PPO generation, and added #pragma BEGINDUMP to PPO.
2001-01-21 01:47:49 +00:00
Jean-Francois Lefebvre
4a22bc5736 2001-01-16 22:15 GMT+1 JFL (Mafact) <jfl@mafact.com> 2001-01-16 21:15:28 +00:00
Ron Pinkas
71b35897c3 2001-01-13 02:25 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/genc.c
   * source/compiler/harbour.c
   * source/pp/pragma.c
     + Added support for #pragma BEGINDUMP ... [#pragma STOPDUMP] or EOF.
       /* BEGINDUMP & STOPDUMP are just a suggestion. */

   * utils/hbpp/hbpp.c
   * source/pp/pplib.c
     + Added empty stub hb_compInlineAdd() (needed by pragma.c)

   * tests/inline_c.prg
     + Added code to demonstrate #pragam BEGINDUMP
2001-01-13 10:28:32 +00:00
Ron Pinkas
36b597040f 2001-01-09 23:10 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcomp.c
   * source/pp/ppcore.c
     * Disabled all processing other than \n when processing HB_INLINE.
2001-01-10 07:10:23 +00:00
Ron Pinkas
cdd92a551c 2001-01-08 17:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed ')' as expression terminator in state STATE_ID_END
2001-01-09 01:43:51 +00:00
Ron Pinkas
fa721257a4 2001-12-03 10:45 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
   * source/pp/ppcore.c
     ! Fixed Array Index support after '.' (Macro Terminator).
2001-01-03 17:33:49 +00:00
Ron Pinkas
8d2b4bd7f0 2000-01-01 22:40 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
   * source/compiler/hbgenerr.c
     + Added: "Unterminated inline block in function: \'%s\'" and "Too many inline blocks"

   * include/hbcomp.h
   * source/compiler/harbour.c
     + Added hb_compInlineNew(), hb_compInlineAdd(), and hb_compInlineFind()

   * source/pp/ppcomp.c
   * source/compiler/harbour.slx
   * source/compiler/genc.c
     + Added support for inline C code blocks.

   + tests/inline_c.prg
     + Added new test to demonstrate new inline C support.
2001-01-02 06:53:30 +00:00
Ron Pinkas
18f85944f6 2000-12-03 10:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     + Added support for whaite space between = and > in #[x]command/[x]translate rules.
2000-12-03 18:49:52 +00:00