Skip to content

Commit 8dd704b

Browse files
committed
py/makeqstrdefs.py: Process only CPP line-numbering info.
Not stuff like "#pragma", etc.
1 parent 4494b52 commit 8dd704b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/makeqstrdefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def process_file(f):
3131
last_fname = None
3232
outf = None
3333
for line in f:
34-
if line and line[0] == "#":
34+
if line and line[0:2] == "# ":
3535
comp = line.split()
3636
fname = comp[2]
3737
assert fname[0] == '"' and fname[-1] == '"'

0 commit comments

Comments
 (0)