Open jhwangus opened 5 years ago
Can you please attach a, small, self contained example (source+configuration file in a tar or zip) that allows us to reproduce the problem, i.e. should create a "CPP" file and a "C" file? Please don't add external links as they might not be persistent. Maybe someone wil have a look at that moment or can give you some hints how to use the filter.
I've just pushed a proposed patch, pull request #25 that separates the different main classes, not completely the requested feature but probably the best / easiest that can be done.
Code of pull request #25 has been integrated in master on github.
Hi, I am using this filter to process several Perl scripts and try to create a document set for the script. Each Perl script is with .pl extension. They have functions inside but no modules.
This filter put every function in the Perl scripts under 'main' class, probably due to the pre-processing into CPP. Is it possible to support Perl scripts without classes? That is:
EXTENSION_MAPPING = pm=C++ pl=C
FILTER_PATTERNS = .pm=doxygen-filter-perl .pl=doxygen-filter-perl-c