diff options
author | Damien George <damien.p.george@gmail.com> | 2015-05-30 23:14:34 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-30 23:14:34 +0100 |
commit | db52fd8e4dcc45d07ad1567329943d2b9dabcdea (patch) | |
tree | 0414422ebd38c92ab581b752ebe66325f3ebb4b7 /stmhal/uart.c | |
parent | 0ec8cf8e80ecdac77416a2d3fed861c95515d5df (diff) | |
download | micropython-db52fd8e4dcc45d07ad1567329943d2b9dabcdea.tar.gz micropython-db52fd8e4dcc45d07ad1567329943d2b9dabcdea.zip |
py: Wrap qstr defs in quotes to protect from C preprocessor.
This patch converts Q(abc) to "Q(abc)" to protect the abc from the
C preprocessor, then converts back after the preprocessor is finished.
So now we can safely put includes in mpconfig(port).h, and also
preprocess qstrdefsport.h (latter is now done also in this patch).
Addresses issue #1252.
Diffstat (limited to 'stmhal/uart.c')
0 files changed, 0 insertions, 0 deletions