From 49e8af5a6da330aa5fa8e7bcc486b154ae0072dc Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Wed, 29 Nov 2023 15:32:38 +0100 Subject: [PATCH] Fixed line numbering in 2-pass mode --- src/ulas.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ulas.c b/src/ulas.c index 3df3631..dad7005 100644 --- a/src/ulas.c +++ b/src/ulas.c @@ -123,6 +123,8 @@ int ulas_main(struct ulas_config cfg) { fprintf(ulaserr, "[Pass %d]\n", ulas.pass); } + ulas_nextpass(); + // FIXME: it would be nice if we could do the 2 pass by clearing the // tmpfile instead of making an entierly new one if (cfg.preproc_only) { -- 2.30.2