Add file info to headers

This commit is contained in:
Bruce Hill 2025-02-10 14:13:44 -05:00
parent 66eca49d18
commit 15b9b3fe86

View File

@ -4505,7 +4505,7 @@ CORD compile_file_header(env_t *env, ast_t *ast)
{
CORD header = CORD_all(
"#pragma once\n"
// "#line 1 ", CORD_quoted(ast->file->filename), "\n",
"#line 1 ", CORD_quoted(ast->file->filename), "\n",
"#include <tomo/tomo.h>\n");
compile_typedef_info_t info = {.env=env, .header=&header};