zephyr/scripts/dts/python-devicetree
Martí Bolívar 7738977af4 dtlib: handle GCC linemarkers
A GCC linemarker of the form:

  # 1 "filename" 2 3 4

or so is not currently being handled, because the current regular
expression assumes the "flags" values (the numbers after "filename")
are limited to a single value. Tweak the regular expression to allow
for up to 4 flags, which is what GCC documents it may emit:

https://gcc.gnu.org/onlinedocs/gcc-10.2.0/cpp/Preprocessor-Output.html

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-12-07 13:39:37 -05:00
..
src/devicetree dtlib: handle GCC linemarkers 2021-12-07 13:39:37 -05:00
tests edtlib: add tests to check Range property 2021-11-10 08:23:00 -05:00
.gitignore
requirements.txt
setup.py
tox.ini python-devicetree: tox: fix mypy 2021-06-09 21:01:55 -04:00