From: Lukas Krickl Date: Wed, 29 Nov 2023 14:32:38 +0000 (+0100) Subject: Fixed line numbering in 2-pass mode X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=49e8af5a6da330aa5fa8e7bcc486b154ae0072dc;p=ulas%2F.git Fixed line numbering in 2-pass mode --- 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) {