From 36fcaeb16799738631d4519e74d2e6398478776d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 8 Jan 2018 17:25:04 +0000 Subject: 42245: Abort last word on interactve comment. Last recorded word should be the previous one. --- Src/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/lex.c') diff --git a/Src/lex.c b/Src/lex.c index c2a59661c..2379804f2 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -677,7 +677,7 @@ gettok(void) (char *)hcalloc(lexbuf.siz = LEX_HEAP_SIZE); add(c); } - hwend(); + hwabort(); while ((c = ingetc()) != '\n' && !lexstop) { hwaddc(c); addtoline(c); -- cgit 1.4.1