diff options
author | Damien George <damien.p.george@gmail.com> | 2020-02-26 11:58:42 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-02-28 10:31:07 +1100 |
commit | 3f39d18c2b884d32f0443e2e8114ff9d7a14d718 (patch) | |
tree | 9c0ef34c65df237b1f41ff32f36ff400e1730af8 /py/nlr.h | |
parent | b86075ef1fc8df19844b18b315ade3c084accd54 (diff) |
all: Add *FORMAT-OFF* in various places.
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments. This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...). In other places
it is used to prevent excessive reformatting that would make the code less
readable.
Diffstat (limited to 'py/nlr.h')
-rw-r--r-- | py/nlr.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,8 @@ #define MICROPY_NLR_NUM_REGS_XTENSA (10) #define MICROPY_NLR_NUM_REGS_XTENSAWIN (17) +// *FORMAT-OFF* + // If MICROPY_NLR_SETJMP is not enabled then auto-detect the machine arch #if !MICROPY_NLR_SETJMP // A lot of nlr-related things need different treatment on Windows @@ -83,6 +85,8 @@ #endif #endif +// *FORMAT-ON* + #if MICROPY_NLR_SETJMP #include <setjmp.h> #endif |