Re: [Doxygen-develop] FILTER_PATTERNS is working with additional " at the end
Brought to you by:
dimitri
From: Dimitri v. H. <do...@gm...> - 2013-05-10 11:24:27
|
Hi Eckard, On May 10, 2013, at 10:54 , Eck...@t-... (Eckard Klotz) wrote: > Hello Developers. > > After some additional tests and referring the archive again I'm sure that the configuration of FILTER_PATTERNS is not working or its usage is not documented completely. > > Even if I use > FILTER_PATTERNS = *.m=./folder/subfolder/m2cpp.pl > the c-comment files will be analysed but not the matlab-files. > > Doxygen gives me the warning that the perl-script "./folder/subfolder/m2cpp.pl can not be opened. > Note, the double-quote " is part of the doxygen warning message and there is no double-quote at the end of the message. > > Once a realized that, I tried to insert in the wizard-input as filter-pattern > *.m=./folder/subfolder/m2cpp.pl" (note the double-quote at the end) > This results in the DOXYFILE the line: > FILTER_PATTERNS = "*.m=./folder/subfolder/m2cpp.pl\"" > > > And last but not least it works now. Since I don't use the filter as INPUT_FILTER all c-like files will be analysed like expected, while all m-files will be preprocessed with the filter. > > Again an additional double-quote with backslash is needed at the end of the filter-definition: > FILTER_PATTERNS = "pattern=filter\"" > in the doxygen-wizard the input is : pattern=filter" > > Please decide if this is the wanted behaviour (then it may be useful to extend the documentation) or if this is a bug in the part to call the perl-script. > If you think this is a problem of the used perl-script I have added, please help me with some information and I will discuss this in the associated forum of matlab. A pair of quotes should only be needed in case the path contains spaces. You should not need to add a dummy " or \" in the configuration file. Can you file a bug report with a self-contained example that allows me to reproduce the problem? Regards, Dimitri |