summaryrefslogtreecommitdiff
path: root/tests/existing.at
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-06-05 09:02:36 +0200
committerJim Meyering <meyering@redhat.com>2012-06-05 09:17:43 +0200
commitcbdb6d9145df09f406f2bf6525e4c97e3f9ae608 (patch)
tree54a7ba770a63b3ea1ddf53291dbc0adfbfb184c6 /tests/existing.at
parent6a4f5c6ea0c86b99ed90ded912d52f611c090bd7 (diff)
downloadbison-cbdb6d9145df09f406f2bf6525e4c97e3f9ae608.tar.gz
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
Diffstat (limited to 'tests/existing.at')
-rw-r--r--tests/existing.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/existing.at b/tests/existing.at
index a34f9238..582f6b3d 100644
--- a/tests/existing.at
+++ b/tests/existing.at
@@ -1478,7 +1478,7 @@ AT_TEST_EXISTING_GRAMMAR([[GNU pic (Groff 1.18.1) Grammar]],
%token RAND
%token SRAND
%token COPY
-%token THRU
+%token THROUGH
%token TOP
%token BOTTOM
%token UPPER
@@ -1604,12 +1604,12 @@ placeless_element:
{}
DELIMITED
| COPY TEXT
- | COPY TEXT THRU
+ | COPY TEXT THROUGH
{}
DELIMITED
{}
until
- | COPY THRU
+ | COPY THROUGH
{}
DELIMITED
{}