X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=contrib%2Ffilter_gcc_for_doxygen;fp=contrib%2Ffilter_gcc_for_doxygen;h=3787eebbf0e7435c021671aa2af8e1792499bfdd;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/contrib/filter_gcc_for_doxygen b/contrib/filter_gcc_for_doxygen new file mode 100755 index 00000000..3787eebb --- /dev/null +++ b/contrib/filter_gcc_for_doxygen @@ -0,0 +1,12 @@ +#!/bin/sh + +# This filters GCC source before Doxygen can get confused by it; +# this script is listed in the doxyfile. The output is not very +# pretty, but at least we get output that Doxygen can understand. +# +# $1 is a source file of some kind. The source we wish doxygen to +# process is put on stdout. + +dir=`dirname $0` +perl $dir/filter_params.pl < $1 | perl $dir/filter_knr2ansi.pl +exit 0