From 5db9ae83d3e4f34e978d2fb36125162715aedeeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 22 Nov 2021 11:17:43 +0100 Subject: [PATCH] fix >IN manipulation not taken into account at line end --- src/fh_parse.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/fh_parse.c b/src/fh_parse.c index c6c9fce..c167b8e 100644 --- a/src/fh_parse.c +++ b/src/fh_parse.c @@ -375,10 +375,6 @@ enum fh_error fh_process_line(struct fh_thread_s *fh) LOG("Discard \"%.*s\"", (int) length, rp); } - - if (!end) { - goto done; - } break; case FH_SUBSTATE_PAREN_COMMENT: @@ -405,6 +401,6 @@ enum fh_error fh_process_line(struct fh_thread_s *fh) } } done: - //LOG("Line done."); + LOG("Line done, rp %d, len %d", ReadPos, ReadLen); return FH_OK; }