From ce9fb61cf05966a9c5bb0cca9c97c7aff28eadeb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Mar 2025 12:10:13 +0800 Subject: [PATCH] Don't print #line for now because it doesn't exist in Hare --- htmplgen/parse.y | 7 ++++--- diff --git a/htmplgen/parse.y b/htmplgen/parse.y index c072fdc61e0aad19434dce1783833b2bfce381f7..5592fe76769ad0c1eb8faceea305a9abd15ef12b 100644 --- a/htmplgen/parse.y +++ b/htmplgen/parse.y @@ -687,9 +687,10 @@ return; } lastline = yylval.lineno; - fprintf(fp, "#line %d ", yylval.lineno); - printq(file->name); - putc('\n', fp); + // fprintf(fp, "#line %d ", yylval.lineno); + // printq(file->name); + // putc('\n', fp); + // TODO: Removed for now because #line doesn't exist in Hare } // Print a string in a form appropriate for raw inclusion into a Hare program. -- 2.48.1