On Tue, 10 Nov 2009, Szak�ts Viktor wrote:

Hi,

> Could cpinfo.prg automatically decide on the above and
> create appropriate raw or readable output?

I'v'e just made such modification but when warning mesage appears
then to final file binary table is added inside #if 0 / #endif, i.e.:

   #if 0 /* TOVERIFY: binary tables */

   #define HB_CP_RAW

   static const unsigned char s_flags[ 256 ] = { 0,0,0,0,0,0,0,0, ...
   static const unsigned char s_upper[ 256 ] = { 0,1,2,3,4,5,6,7, ...
   static const unsigned char s_lower[ 256 ] = { 0,1,2,3,4,5,6,7, ...
   static const unsigned char s_sort [ 256 ] = { 0,1,2,3,4,5,6,7, ...

   #endif

It means that someone should recompile new CP code with Harbour and
generate CP file again but this time using cpinfo compiled by Harbour
and compare results.
If they are the same then he should remove above #if 0 / #endif
statement from final SVN file to inform other users that CPs were
verified and works in human readable form.

If generated CP file does not contain TOVERIFY string then it means that
cpinfo can decided to use binary tables or human readable form itself.

I'll commit it in a while and I would like to ask you to verify the
CPs you committed today if you find some spare time.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to