]> git.saurik.com Git - bison.git/commit - src/parse-gram.c
maint: fix comment typos
authorJim Meyering <meyering@redhat.com>
Tue, 5 Jun 2012 07:02:36 +0000 (09:02 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 5 Jun 2012 07:17:43 +0000 (09:17 +0200)
commitcbdb6d9145df09f406f2bf6525e4c97e3f9ae608
tree54a7ba770a63b3ea1ddf53291dbc0adfbfb184c6
parent6a4f5c6ea0c86b99ed90ded912d52f611c090bd7
maint: fix comment typos

Using http://github.com/lyda/misspell-check, massage its
output into sed commands to perform the suggested changes.
Initially, I filtered out the THRU->Through changes, because
that failed to retain capitalization in the grammar token.
Instead, do this manually, beforehand:

sed -i s/THRU/THROUGH/ tests/existing.at
git ls-files|misspellings -f -|perl -nl \
  -e '/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/ or next;' \
  -e '($file,$n,$l,$r)=($1,$2,$3,$4); $q="'\''"; $r=~s/$q/$q\\$q$q/g;'\
  -e 'print "sed -i $q${n}s!$l!$r!$q $file"'|bash
ChangeLog-2012
data/yacc.c
djgpp/README.in
djgpp/config.bat
doc/Doxyfile.in
src/parse-gram.c
tests/existing.at
tests/local.at