summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);