py/makeqstrdefs.py: Process only CPP line-numbering info.
Not stuff like "#pragma", etc.
This commit is contained in:
parent
4494b521ea
commit
8dd704b019
|
@ -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] == '"'
|
||||
|
|
Loading…
Reference in New Issue