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.
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
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