Discussion:
SF.net SVN: harbour-project:[14663] trunk/harbour
(too old to reply)
vszakats-Rn4VEauK+AKRv+
2010-06-02 11:16:38 UTC
Permalink
Revision: 14663
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14663&view=rev
Author: vszakats
Date: 2010-06-02 11:16:36 +0000 (Wed, 02 Jun 2010)

Log Message:
-----------
2010-06-02 13:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* utils/hbmk2/hbmk2.prg
+ Now uses regular expression to extract #include directives
from source files, so now it should recognize all supported
syntax variations (f.e. " # include <>"). The only
difference between real source parser is now only the lack
of comment filtering (and no preprocessor, but this latter
isn't desired for multiple reasons).
Pls review me.

* src/rtl/hbregex.c
* HB_ATX() cleanup code layout, minimalized variable scopes.
% HB_ATX() minor optimization: No need to check pcount before
calling hb_stor*() functions since it's done anyway inside
those calls.
* HB_ATX() will now default the 5th <nEnd> parameter to the
full length of the passed source string. It's slight
incompatibility though I doubt too many users would have
called this with empty 5th parameter, since the function
just didn't do anything in this case.
Pls review this, maybe I misunderstood original intent.

Modified Paths:
--------------
trunk/harbour/ChangeLog
trunk/harbour/src/rtl/hbregex.c
trunk/harbour/utils/hbmk2/hbmk2.prg


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Continue reading on narkive:
Loading...