| 1 | #!/bin/sh |
| 2 | |
| 3 | # This filters GDB 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. |
| 6 | # |
| 7 | # $1 is a source file of some kind. The source we wish doxygen to |
| 8 | # process is put on stdout. |
| 9 | |
| 10 | # (Adapted from gcc/contrib/filter_gcc_for_doxygen) |
| 11 | |
| 12 | dir=`dirname $0` |
| 13 | perl $dir/filter-params.pl < $1 |
| 14 | exit 0 |