Commit 8dd704b0 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/makeqstrdefs.py: Process only CPP line-numbering info.

Not stuff like "#pragma", etc.
parent 4494b521
......@@ -31,7 +31,7 @@ def process_file(f):
last_fname = None
outf = None
for line in f:
if line and line[0] == "#":
if line and line[0:2] == "# ":
comp = line.split()
fname = comp[2]
assert fname[0] == '"' and fname[-1] == '"'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment