Viktor Szakats 45447a4c91 2010-06-08 20:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbregexc.c
    + Restored RTE which is thrown when unsupported regex string is
      found in any .prg level regex API calls except HB_REGEXCOMP().
      The only difference compared to previous solution is different
      error code (3015) to differenciate this case from wrong
      parameter _type_ error cases.
    ; TOFIX: IMO even current solution is not ideal, because it just
             forces developers to use HB_ISREGEX() to pre-evaluate regex
             strings before actually using them (causing performance hit),
             or it forces them to use HB_REGEXCOMP() to pre-compile and
             pre-evaluate the expressions before passing them to actual
             regex functions, in the valid case they want to avoid unexpected
             RTEs due to missing or unsupported regex (PCRE) subsystem.
             IOW it makes plain HB_ATX( <cRegExp>, ... ) style calls
             prone to fail with RTE in certain, very hard to predict
             situations in officially supported Harbour builds.
             Comments are appreciated.

  * utils/hbmk2/hbmk2.prg
    * Deleted unused code.
    * Formatting.
2010-06-08 18:32:53 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%