[patch] source_scan improvements

2001-06-28 Thread Stas Bekman
This patch ensures that the autogenerated datastructures are sorted. Note that I sort the arrays too, since the data is coming from an external source (filesystem) so we have to ensure that this will be sorted as well. To perform the later I rely on the internal knowledge of the datastructures.

Re: [patch] source_scan improvements

2001-06-28 Thread Doug MacEachern
way cool!! i committed your patch, with one change being a reverse sort of hashes so we end up with something very nice: { 'return_type' = 'int', 'name' = 'ap_allow_options', 'args' = [ { 'type' = 'request_rec *', 'name' = 'r' } ] }, which is the

lib/Apache/ParseSource.pm @INC problem

2001-06-28 Thread Stas Bekman
Doug, after your recent patch, 'make source_scan' doesn't work anymore unless you have Apache-Test installed in @INC. This can to be solved either with: use lib qw(blib/lib); or equivalent PERL5LIB env var. in lib/Apache/ParseSource.pm or forcing 'make install' of Apache-Test libs prior to