Commit Graph

117 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
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
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
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
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
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
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
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
Ron Pinkas
8a712df3c5 2000-11-26 21:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* include/hberrors.h
   * source/pp/ppcomp.c
   * source/pp/ppcore.c
     + Added error support for Input buffer overflow .
2000-11-27 05:13:00 +00:00
Ron Pinkas
736ca3f33b 2000-11-26 10:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     + Added support ',' withing Array Index in NextParm()
2000-11-26 18:08:50 +00:00
Ron Pinkas
1083b8810f Removed 1 debug message 2000-11-22 15:56:48 +00:00
Ron Pinkas
b594a5aa2d 2000-11-21 18:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcomp.c
     * Corrected 1 compiler warning.

   * source/pp/ppcore.c
     + Added s_bArray support logic to WorkDefine()

   * source/rtl/idle.c
     * Revered order of hb_gcCollectAll() and hb_releaseCPU();
2000-11-22 02:37:50 +00:00
Ron Pinkas
cf8b3caf7c 2000-11-14 02:35 UTC+0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
     ! Corrected few pre-processor bugs.
     ! Corrected DOT multi-line support.
   * contrib/dot/rp_dot.ch
     + Added Clipper and Harbour support for GET

   * source/pp/ppcore.c
     ! Removed redundant line in md_strAt() whiched caused bug with tanslating within [] bracket expressions.
2000-11-14 10:37:00 +00:00
Ron Pinkas
6e310c82ba 2000-11-09 11:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     * Added parameter BOOL bRule to md_strAt() to differentiate between searching a Rule Text or an Expression.
       /* [...] should be searched within Rule, but _not_ within an Expression. */
2000-11-09 18:59:01 +00:00
Ron Pinkas
0abf4b8b9a 2000-11-09 09:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     * Fixed typo in NextName()
2000-11-09 16:54:05 +00:00
Ron Pinkas
b719976682 2000-11-09 01:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     * Fixed STATE_QUOT3 ([]) support in getExpReal() and added STATE_QUOT3 support to NextParm() NextName() and md_strAt()

   /* Before this fix #define and #translate were activated within [] strings - Fixed!
      Now strings delimiter conversion should be complete. */
2000-11-09 09:12:01 +00:00
Ron Pinkas
28e1134746 2000-11-06 22:10 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/cmdcheck.c
   * utils/hbpp/hbpp.c
     + Added support for complex Command Line #defines

   * source/pp/ppcore.c
     * Renamed ParseDefine() to hb_pp_ParseDefine() and made it public.
2000-11-07 06:10:11 +00:00
Ron Pinkas
bde73b45ad 2000-11-04 14:45 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/pp/ppcore.c
     ! Fixed droped redundant spaces in [] strings, by adding STATE_QUOTE3 to strotrim().
     ! Fixed conversion of string delimiters in getExpReal()
2000-11-05 22:37:00 +00:00
David G. Holm
7be63457b5 See ChangeLog entry 2000-10-25 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-10-25 19:02:23 +00:00
Alexander S.Kresin
4bb02937e2 2000-10-25 13:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> 2000-10-25 10:16:02 +00:00
David G. Holm
3a8bbe3486 See ChangeLog entry 2000-10-10 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-10-10 20:30:21 +00:00
Jean-Francois Lefebvre
04c647c9b2 2000-10-03 231:45 UTC+0100 JFL <jfl@mafact.com> (2 : missing files) 2000-10-04 19:48:05 +00:00
Ron Pinkas
90dd4a548c 2000-10-02 13:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/compiler/hbpcode.c
     * Corrected 1 compiler warning.

   * source/pp/ppcomp.c
     * Cleaned-up and corrected bug when rules files had an #include directive.
     + Added CloseInclude() and moved relevant logic into it.

   * source/pp/ppcore.c
     - Removed unused s_iIncludes, and hb_pp_nEmptyStrings

   * utils/hbpp/hbpp.c
     + Added local hb_pp_nEmptyStrings to hb_pp_Parse()
2000-10-02 20:02:42 +00:00
David G. Holm
e2d7174201 See ChangeLog entry 2000-10-02 12:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2000-10-02 17:05:19 +00:00