diff options
author | stijn <stinos@zoho.com> | 2016-04-23 18:36:07 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-25 22:34:22 +0100 |
commit | 9264d42e2a5659fce2611ec30f15e88956a99695 (patch) | |
tree | 4eeaec5f7cfdb5b7133563911a2a411d4dae5fd5 /esp8266/modpybpin.c | |
parent | b2b771ca02327ce2a1a6896a0c2cd15b26834737 (diff) | |
download | micropython-9264d42e2a5659fce2611ec30f15e88956a99695.tar.gz micropython-9264d42e2a5659fce2611ec30f15e88956a99695.zip |
py/makeqstrdefs.py: Windows compatibility.
- msvc preprocessor output contains full paths with backslashes so the
':' and '\' characters needs to be erased from the paths as well
- use a regex for extraction of filenames from preprocessor output so it
can handle both gcc and msvc preprocessor output, and spaces in paths
(also thanks to a PR from @travnicekivo for part of that regex)
- os.rename will fail on windows if the destination file already exists,
so simply attempt to delete that file first
Diffstat (limited to 'esp8266/modpybpin.c')
0 files changed, 0 insertions, 0 deletions