awk: deindent code block, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-06-29 01:30:49 +02:00
parent adcd9a6f34
commit a493441ca5

View File

@ -1337,8 +1337,9 @@ static node *parse_expr(uint32_t term_tc)
cn->a.n = glptr;
expected_tc = TS_OPERAND | TS_UOPPRE;
glptr = NULL;
} else if (tc & (TS_BINOP | TC_UOPPOST)) {
continue;
}
if (tc & (TS_BINOP | TC_UOPPOST)) {
debug_printf_parse("%s: TS_BINOP | TC_UOPPOST tc:%x\n", __func__, tc);
/* for binary and postfix-unary operators, jump back over
* previous operators with higher priority */
@ -1368,8 +1369,9 @@ static node *parse_expr(uint32_t term_tc)
expected_tc = TS_OPERAND | TS_UOPPRE | TS_BINOP | term_tc;
}
vn->a.n = cn;
continue;
}
} else {
debug_printf_parse("%s: other, t_info:%x\n", __func__, t_info);
/* for operands and prefix-unary operators, attach them
* to last node */
@ -1380,7 +1382,10 @@ static node *parse_expr(uint32_t term_tc)
expected_tc = TS_OPERAND | TS_UOPPRE | TC_REGEXP;
if (t_info == TI_PREINC || t_info == TI_PREDEC)
expected_tc = TS_LVALUE | TC_UOPPRE1;
if (tc & (TS_OPERAND | TC_REGEXP)) {
if (!(tc & (TS_OPERAND | TC_REGEXP)))
continue;
debug_printf_parse("%s: TS_OPERAND | TC_REGEXP\n", __func__);
expected_tc = TS_UOPPRE | TC_UOPPOST | TS_BINOP | TS_OPERAND | term_tc;
/* one should be very careful with switch on tclass -
@ -1462,8 +1467,6 @@ static node *parse_expr(uint32_t term_tc)
}
break;
}
}
}
} /* while() */
debug_printf_parse("%s() returns %p\n", __func__, sn.r.n);