aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-04 03:04:42 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-04 03:04:42 -0400
commit79c1e8f989ec35f6cd8bb3b7a1250321b6a79569 (patch)
tree133e678be42935bbe8c6c46586f0e8c4b7b62cec /compile.c
parente0aca8fa72546b385bdb345fb65f4fe3b9c6f4fc (diff)
Don't put __SOURCE_FILE__ in header
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index ab93ead4..9b6aabcc 100644
--- a/compile.c
+++ b/compile.c
@@ -3410,7 +3410,6 @@ CORD compile_header(env_t *env, ast_t *ast)
CORD header = CORD_all(
"#pragma once\n"
// "#line 1 ", CORD_quoted(ast->file->filename), "\n",
- "#define __SOURCE_FILE__ ", CORD_quoted(ast->file->filename), "\n"
"#include <tomo/tomo.h>\n");
for (ast_list_t *stmt = Match(ast, Block)->statements; stmt; stmt = stmt->next)