hoi :) when I once experimented with doxygen, I used the following script to convert some kerneldoc comments to doxygen syntax: #!/usr/bin/perl -wpi use strict; BEGIN { $::state = 0; } if ($::state == 0) { $::state = 1 if /\/\*\*/; } elsif ($::state == 1) { s/(\*\s+)(struct\s+|enum\s+)?\S+ - /$1/; s/$/\./ unless /\.$/; $::state = 2; } elsif ($::state == 2) { s/(\*\s+)\@(\w+):\s+(.*)/$1\\param $2 $3./; s/(\s+)[%&\@](\S+)/$1$2/g; } s/\.\.$/./; $::state = 0 if /\*\//; -- Martin Waitz
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: Kernel API Reference Documentation
- From: Lukas Jelinek <[email protected]>
- Re: Kernel API Reference Documentation
- References:
- Kernel API Reference Documentation
- From: Lukas Jelinek <[email protected]>
- Re: Kernel API Reference Documentation
- From: "Randy.Dunlap" <[email protected]>
- Re: Kernel API Reference Documentation
- From: Lukas Jelinek <[email protected]>
- Re: Kernel API Reference Documentation
- From: Steven Rostedt <[email protected]>
- Kernel API Reference Documentation
- Prev by Date: Re: 2.6.17-mm3 - mutex warning in usbhid, battery problem, and slab corruption
- Next by Date: Re: [patch] lockdep: special s390 print_symbol() version
- Previous by thread: Re: Kernel API Reference Documentation
- Next by thread: Re: Kernel API Reference Documentation
- Index(es):