URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc4/] [contrib/] [filter_params.pl] - Rev 591
Go to most recent revision | Compare with Previous | Blame | View Log
#!/usr/bin/perl # Filters out some of the #defines used throughout the GCC sources: # - GTY(()) marks declarations for gengtype.c # - PARAMS(()) is used for K&R compatibility. See ansidecl.h. while (<>) { s/^\/\* /\/\*\* \@verbatim /; s/\*\// \@endverbatim \*\//; s/GTY[ \t]*\(\(.*\)\)//g; s/[ \t]ATTRIBUTE_UNUSED//g; s/PARAMS[ \t]*\(\((.*?)\)\)/\($1\)/sg; print; }
Go to most recent revision | Compare with Previous | Blame | View Log