| 1 | #!/bin/shscip-shell filesystem . . `/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=`dirnamescip-shell system . . dirname. $0` |
| 13 | perlscip-shell system . . perl. $dir/filter-params.pl < $1 |
| 14 | exit 0 |