aboutsummaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index 96f76fc..a1e6e11 100644
--- a/pp.c
+++ b/pp.c
@@ -337,6 +337,7 @@ directive(void)
tokencheck(&tok, TNUMBER, "after #line");
line:
newloc.line = strtoull(tok.lit, NULL, 0);
+ newloc.col = 1;
scan(&tok);
newloc.file = tok.loc.file;
if (tok.kind == TSTRINGLIT) {