This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fix typos mandated by conventions.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Veres Lajos <vlajos at gmail dot com>
- Date: Mon, 8 Jul 2013 08:34:40 +0200
- Subject: [PATCH] fix typos mandated by conventions.
- References: <20130703084440 dot GA11873 at virgil dot suse> <alpine dot DEB dot 2 dot 00 dot 1307031107230 dot 8850 at citymarket dot hu> <alpine dot DEB dot 2 dot 00 dot 1307040438220 dot 8850 at citymarket dot hu> <alpine dot DEB dot 2 dot 10 dot 1307040903350 dot 25651 at stedding dot saclay dot inria dot fr> <CAH6eHdT4OJ6J-wPAbXQn6RzKUcTBC9H8TqmDXtdQT_efn3FAtA at mail dot gmail dot com> <20130705154318 dot GA26780 at domone dot kolej dot mff dot cuni dot cz> <CAH6eHdTb_KBzAhf1Wnbhrdj2T4+TEuoMd5__AkPKGj_X8v9hmQ at mail dot gmail dot com> <20130706054417 dot GA1849 at domone dot kolej dot mff dot cuni dot cz> <CAH6eHdTL6vfYC9z4kMpcVJO+u9hBtTHnwshU+zULaFYqxdW07Q at mail dot gmail dot com> <20130707142115 dot GA5209 at domone dot kolej dot mff dot cuni dot cz>
On Sun, Jul 07, 2013 at 04:21:15PM +0200, OndÅej BÃlka wrote:
> On Sat, Jul 06, 2013 at 01:14:38PM +0100, Jonathan Wakely wrote:
> > I decided to grep for all the misspelled words beginning with A from
> > your list and fix the ones that were real errors. That took me an hour
> > to produce this patch. It doesn't include changes to java or fortran,
> > as I don't have them checked out in my tree. After a bootstrap and
> > another review I'm going to commit most of these as obvious, but I
> > don't really want to spend another ~25 hours doing the rest of the
> > alphabet! :)
>
Hi now, when I have infrastructure ready I made another patch (its 500kb so
link not to overload list). It is here;
http://kam.mff.cuni.cz/~ondra/gcc_misspell_conventions.patch
It uses dictionary made by reading gcc conventions.
http://gcc.gnu.org/codingconventions.html
Only obvious cases are there I could add warning for cases that need
decide if word is noun or adjective etc.
This patch was generated by command
script/stylepp_skeleton stylepp_fix_comment
whose version is following
https://github.com/neleai/stylepp/commit/23ddb7c5857964861abdb524971071488c1a83ba
and following dictionary.
32_bit 32-bit
alpha_numeric alphanumeric
bitfield bit-field
bit_field bit-field
coldfire ColdFire
Coldfire ColdFire
command_line_option command-line_option
enumeral enumerated
epilog epilogue
lower_case lowercase
lower-case lowercase
mips MIPS
Mips MIPS
non-zero nonzero
non_zero nonzero
Objective_C Objective-C
prolog prologue
powerpc PowerPC
powerPC PowerPC
PowerPc PowerPC
Redhat Red_Hat
RedHat Red_Hat
sparc SPARC
Sparc SPARC
test_case testcase
test-case testcase
test_suite testsuite
test-suite testsuite
upper_case uppercase
upper-case uppercase
vax VAX
Vax VAX
vaxen VAXen
microvax MicroWAX