bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix comment typos


From: Jim Meyering
Subject: Re: [PATCH] fix comment typos
Date: Tue, 05 Jun 2012 08:53:36 +0200

Akim Demaille wrote:

> Le 3 juin 2012 à 21:58, Jim Meyering a écrit :
>
>> Here are a few automatically-performed typo fixes:
>> (possibly mangled due to ^M's in config.bat)
>>
>>> From 20ad79a6084472a518ccf9d8fa7f330d864de987 Mon Sep 17 00:00:00 2001
>> From: Jim Meyering <address@hidden>
>> Date: Sun, 3 Jun 2012 21:54:52 +0200
>> Subject: [PATCH] fix comment typos
>>
>> Using http://github.com/lyda/misspell-check, massage its
>> output into sed commands to perform the suggested changes:
>> (the sole filter is to avoid changing the THRU tokens in a grammar)
>
> Hi Jim!
>
> Thanks!  Would you like to install it?  On "maint" please.

Sure.
What do you think about correcting the spelling of "THRU"?
(THRU was filtered out of the posted patch)?

  $ grep THRU tests/existing.at
  %token THRU
          | COPY TEXT THRU
          | COPY THRU

This is a minor weakness in the misspellings script:
it would map all-caps THRU to leading-cap Through, rather than to THROUGH.

I suggest to do this,

  sed -i 's!THRU!THROUGH!' tests/existing.at

if only to avoid the need for an exclusion when/if this
is automated or repeated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]