diff options
author | stijn <stijn@ignitron.net> | 2020-04-16 09:13:57 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-23 11:24:25 +1000 |
commit | 84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch) | |
tree | dc2b3e67bad9969fc5792ca0822798d58addf174 /lib/utils | |
parent | d6243568a05d423b58522435c3779975acbf56dd (diff) | |
download | micropython-84fa3312cfa7d2237d4b56952f2cd6e3591210c4.tar.gz micropython-84fa3312cfa7d2237d4b56952f2cd6e3591210c4.zip |
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/printf.c | 2 | ||||
-rw-r--r-- | lib/utils/pyexec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/printf.c b/lib/utils/printf.c index 0c21fc4c0a..6266ab66d3 100644 --- a/lib/utils/printf.c +++ b/lib/utils/printf.c @@ -130,4 +130,4 @@ int snprintf(char *str, size_t size, const char *fmt, ...) { return ret; } -#endif //MICROPY_USE_INTERNAL_PRINTF +#endif // MICROPY_USE_INTERNAL_PRINTF diff --git a/lib/utils/pyexec.c b/lib/utils/pyexec.c index d5ac4a5070..ec20daff4b 100644 --- a/lib/utils/pyexec.c +++ b/lib/utils/pyexec.c @@ -168,7 +168,7 @@ typedef struct _repl_t { // but it was moved to MP_STATE_VM(repl_line) as containing // root pointer. Still keep structure in case more state // will be added later. - //vstr_t line; + // vstr_t line; bool cont_line; bool paste_mode; } repl_t; |