summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2013-07-22 21:00:50 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2013-07-22 21:00:50 +0100
commit31c5c7bb1101ccafac023c1aac69881f85c03186 (patch)
tree366c4c526e59797254dc440be75bbdf030b71d49
parent6533ae0719af7a0dee563ed3d74aaf3a565e337a (diff)
downloadzsh-31c5c7bb1101ccafac023c1aac69881f85c03186.tar.gz
zsh-31c5c7bb1101ccafac023c1aac69881f85c03186.zip
unposted: fix previous commit: ihwend -> hwend
-rw-r--r--ChangeLog3
-rw-r--r--Src/lex.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cab2fa469..17020ce9b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-07-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * unposted: Src/lex.c: correct previous commit: should call
+ hwend(), not ihwend().
+
* 31559: Src/lex.c: Fix problem with history lines for comments
that occur in the middle of an alias.
diff --git a/Src/lex.c b/Src/lex.c
index 4a9b11015..d0f845020 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -778,7 +778,7 @@ gettok(void)
bptr = tokstr = (char *)hcalloc(bsiz = 32);
add(c);
}
- ihwend();
+ hwend();
while ((c = ingetc()) != '\n' && !lexstop) {
hwaddc(c);
addtoline(c);