aboutsummaryrefslogtreecommitdiffstats
path: root/support/doxygen/evil_mangler.awk
Commit message (Collapse)AuthorAgeFilesLines
* stm32f2-f4: fix doxygen evil_manglerbnewbold2015-06-131-1/+2
| | | | | | | Now detects "stm32f2-f4" as a valid series, and rewrites it to "stm32f2_f4" as a namespace. Documentation will need to be refactored to point at this new namespace.
* Doxygen: add the Evil Mangler.Marti Bolivar2012-05-101-0/+38
Whenever Doxygen is running on a series header, make it run an awk script, the Evil Mangler, that pretends the file is enclosed in an appropriate namespace declaration for the series target. Doxygen chokes if two structs have the same name. This is a problem for the series headers, which commonly have data structures with the same name. However, if those structs are in different namespaces, Doxygen has no problems. We obviously can't use namespaces in C headers, so use FILTER_PATTERNS to trick Doxygen into thinking they're there. Ugly, but I can't think of a better way to handle this. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>