about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2024-02-03 19:55:41 -0800
committerBart Schaefer <schaefer@zsh.org>2024-02-03 19:55:41 -0800
commitc039a74e094bb6a4d965899f67fe34d2b84dda8d (patch)
tree5cabacb0910d50a21eaa79ee6e395ced754e9a77
parentce8909b49428e260c15dce22d764f2831295645a (diff)
downloadzsh-c039a74e094bb6a4d965899f67fe34d2b84dda8d.tar.gz
zsh-c039a74e094bb6a4d965899f67fe34d2b84dda8d.tar.xz
zsh-c039a74e094bb6a4d965899f67fe34d2b84dda8d.zip
Typos in previous commit comments
-rw-r--r--Src/Zle/zle_tricky.c2
-rw-r--r--Src/parse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index ea2a52390..225ce8c74 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -1572,7 +1572,7 @@ get_comp_string(void)
 	i = 0;
 	MB_METACHARINIT();
 	/* All further uses of IIDENT in this file should change to   *
-         * INAMESPACE if this case is changed.  Too ugly to risk now. */
+         * INAMESPC if this case is changed.  Too ugly to risk now.   */
 	if (itype_end(s, IIDENT, 1) == s)
 	    nnb = s + MB_METACHARLEN(s);
 	else
diff --git a/Src/parse.c b/Src/parse.c
index 2b7e003fc..821812c78 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1936,7 +1936,7 @@ par_simple(int *cmplx, int nr)
 		if (*ptr == Outbrace && ptr > tokstr + 1)
 		{
 		    /* Should we allow namespace FDs, {.foo.bar}>&file ? *
-		     * If so, change IIDENT to INAMESPACE here           */
+		     * If so, change IIDENT to INAMESPC here             */
 		    if (itype_end(tokstr+1, IIDENT, 0) >= ptr)
 		    {
 			char *toksave = tokstr;