aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--profile.c2
-rw-r--r--test/ChangeLog5
-rw-r--r--test/profile2.ok2
-rw-r--r--test/profile3.ok2
-rw-r--r--test/profile4.ok2
-rw-r--r--test/profile5.ok4
7 files changed, 15 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 72a27d76..e8d57f50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ * profile.c (pprint): Fix typo in header. Sheesh.
+
2014-10-04 Arnold D. Robbins <arnold@skeeve.com>
* profile.c (pp_string_fp): Fix breaklines case to actually
diff --git a/profile.c b/profile.c
index 84e7f9da..a5ed381b 100644
--- a/profile.c
+++ b/profile.c
@@ -190,7 +190,7 @@ pprint(INSTRUCTION *startp, INSTRUCTION *endp, bool in_for_header)
if (rule != Rule) {
if (! rule_count[rule]++)
- fprintf(prof_fp, _("\t# %s rules(s)\n\n"), ruletab[rule]);
+ fprintf(prof_fp, _("\t# %s rule(s)\n\n"), ruletab[rule]);
fprintf(prof_fp, "\t%s {\n", ruletab[rule]);
ip = (pc + 1)->firsti;
} else {
diff --git a/test/ChangeLog b/test/ChangeLog
index caee294f..28c936df 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ * profile2.ok, profile3.ok, profile4.ok, profile5.ok:
+ Adjusted after minor code change. Again.
+
2014-10-04 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (genpot): New test.
diff --git a/test/profile2.ok b/test/profile2.ok
index 66b01402..938d6858 100644
--- a/test/profile2.ok
+++ b/test/profile2.ok
@@ -1,4 +1,4 @@
- # BEGIN rules(s)
+ # BEGIN rule(s)
BEGIN {
1 if (sortcmd == "") {
diff --git a/test/profile3.ok b/test/profile3.ok
index 5a9eeea9..bbf06541 100644
--- a/test/profile3.ok
+++ b/test/profile3.ok
@@ -1,4 +1,4 @@
- # BEGIN rules(s)
+ # BEGIN rule(s)
BEGIN {
1 the_func = "p"
diff --git a/test/profile4.ok b/test/profile4.ok
index df52aa1a..dd845c1c 100644
--- a/test/profile4.ok
+++ b/test/profile4.ok
@@ -1,4 +1,4 @@
- # BEGIN rules(s)
+ # BEGIN rule(s)
BEGIN {
a = "foo" (c = "bar")
diff --git a/test/profile5.ok b/test/profile5.ok
index c688fbb8..bff767eb 100644
--- a/test/profile5.ok
+++ b/test/profile5.ok
@@ -1,4 +1,4 @@
- # BEGIN rules(s)
+ # BEGIN rule(s)
BEGIN {
_addlib("_BASE")
@@ -263,7 +263,7 @@
_END()
}
- # END rules(s)
+ # END rule(s)
END {
_EXIT()