You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
py/makeqstrdefs.py: Process only CPP line-numbering info.
Not stuff like "#pragma", etc.
This commit is contained in:
+1
-1
@@ -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] == '"'
|
||||
|
||||
Reference in New Issue
Block a user