~mcf/cproc

e2855dd3223f83e7638d1698622861d5e98cb1b2 — Michael Forney 8 months ago 2ad66da
pp: Set location column to 1 after line directive
1 files changed, 1 insertions(+), 0 deletions(-)

M pp.c
M pp.c => pp.c +1 -0
@@ 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) {