summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/lex.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fba3d5392..cab2fa469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-07-22 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * 31559: Src/lex.c: Fix problem with history lines for comments
+ that occur in the middle of an alias.
+
* Eric Cook: 31558: Completion/Command/Unix/_qemu: name of
binary has changed.
diff --git a/Src/lex.c b/Src/lex.c
index ac87e5ec8..4a9b11015 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -778,6 +778,7 @@ gettok(void)
bptr = tokstr = (char *)hcalloc(bsiz = 32);
add(c);
}
+ ihwend();
while ((c = ingetc()) != '\n' && !lexstop) {
hwaddc(c);
addtoline(c);