You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
py/parse: Add parenthesis around calculated bit-width in struct.
To improve interaction with uncrustify formatter.
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ STATIC const char *const rule_name_table[] = {
|
||||
#endif
|
||||
|
||||
typedef struct _rule_stack_t {
|
||||
size_t src_line : 8 * sizeof(size_t) - 8; // maximum bits storing source line number
|
||||
size_t src_line : (8 * sizeof(size_t) - 8); // maximum bits storing source line number
|
||||
size_t rule_id : 8; // this must be large enough to fit largest rule number
|
||||
size_t arg_i; // this dictates the maximum nodes in a "list" of things
|
||||
} rule_stack_t;
|
||||
|
||||
Reference in New Issue
Block a user