Skip to content

Commit 0291a62

Browse files
committed
py/compile: Fix enum variable declaration.
1 parent 0c75990 commit 0291a62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2158,7 +2158,7 @@ STATIC void compile_term(compiler_t *comp, mp_parse_node_struct_t *pns) {
21582158

21592159
STATIC void compile_factor_2(compiler_t *comp, mp_parse_node_struct_t *pns) {
21602160
compile_node(comp, pns->nodes[1]);
2161-
mp_binary_op_t op;
2161+
mp_unary_op_t op;
21622162
mp_token_kind_t tok = MP_PARSE_NODE_LEAF_ARG(pns->nodes[0]);
21632163
switch (tok) {
21642164
case MP_TOKEN_OP_PLUS: op = MP_UNARY_OP_POSITIVE; break;

0 commit comments

Comments
 (0)