kopia lustrzana https://github.com/micropython/micropython
py/parse: Add parenthesis around calculated bit-width in struct.
To improve interaction with uncrustify formatter.pull/5700/head
rodzic
3c58d9a1a5
commit
b86075ef1f
|
@ -208,7 +208,7 @@ STATIC const char *const rule_name_table[] = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct _rule_stack_t {
|
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 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
|
size_t arg_i; // this dictates the maximum nodes in a "list" of things
|
||||||
} rule_stack_t;
|
} rule_stack_t;
|
||||||
|
|
Ładowanie…
Reference in New Issue