2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / contrib / filter_gcc_for_doxygen
blob3787eebbf0e7435c021671aa2af8e1792499bfdd
1 #!/bin/sh
3 # This filters GCC source before Doxygen can get confused by it;
4 # this script is listed in the doxyfile. The output is not very
5 # pretty, but at least we get output that Doxygen can understand.
7 # $1 is a source file of some kind. The source we wish doxygen to
8 # process is put on stdout.
10 dir=`dirname $0`
11 perl $dir/filter_params.pl < $1 | perl $dir/filter_knr2ansi.pl
12 exit 0