Messages in this thread | | | Date | Sat, 1 Mar 2003 20:30:36 +0100 (CET) | From | Matthias Schniedermeyer <> | Subject | Re: [PATCH] kernel source spellchecker |
| |
Hi
> Matthias Schniedermeyer wrote: > > I've no spelling knowledge, so the list of spellcorrections must be made > > by someone else. But i can volunteer the perl-snippet to correct the > > files. :-) > > Smashing! However, it should probably avoid correcting spellings > in anything but C comments.
Here we go.
Take 1.10
This versions defaults to only correct words within a comment.
> Perhaps my C comment parser should be converted to perl and
No need to make any hasled.
// Comments are easy(tm). "Everything after // until line-end".
and /* ... */ are easy(tm) too because gcc doesn't support to nest them.
Only a handfull of lines were needed to handle this. :-)
Bis denn
-- Real Programmers consider "what you see is what you get" to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a "you asked for it, you got it" text editor -- complicated, cryptic, powerful, unforgiving, dangerous.
[unhandled content-type:application/x-perl] | |