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

Not stuff like "#pragma", etc.
This commit is contained in:
Paul Sokolovsky 2016-04-19 12:52:57 +03:00
parent 4494b521ea
commit 8dd704b019
1 changed files with 1 additions and 1 deletions

View File

@ -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] == '"'