summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-05-11 19:42:07 +0300
committerArnold D. Robbins <arnold@skeeve.com>2022-05-11 19:42:07 +0300
commitf4877a3fbb65abcfa665b5751739d84cf57eb779 (patch)
treea6b11fd7116637bd56de1af2edae938a652cf540
parentdd919301ce0bf493ed48df8debf3a29543156a59 (diff)
downloadgawk-f4877a3fbb65abcfa665b5751739d84cf57eb779.tar.gz
Small typo fix.
-rw-r--r--ChangeLog4
-rw-r--r--profile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bae2105..b840440a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-05-11 Arnold D. Robbins <arnold@skeeve.com>
+
+ * profile.c (pp_list): Typo fix in a comment.
+
2022-04-28 Arnold D. Robbins <arnold@skeeve.com>
Disallow SYMTAB["x"]["y"]. Reported by Jason C. Kwan.
diff --git a/profile.c b/profile.c
index 66932db6..13e13e6f 100644
--- a/profile.c
+++ b/profile.c
@@ -1791,7 +1791,7 @@ pp_list(int nargs, const char *paren, const char *delim)
len += r->pp_len + delimlen;
if (r->pp_comment != NULL) {
comment = (INSTRUCTION *) r->pp_comment;
- len += comment->memory->stlen + indent_level + 1; // comment\n ident
+ len += comment->memory->stlen + indent_level + 1; // comment\n indent
}
}
if (paren != NULL) {