fixed a bug in printing a tree node of the QSE_AWK_NDE_POS type

This commit is contained in:
hyung-hwan 2020-03-12 04:31:19 +00:00
parent 7d82d5c8b0
commit e83fda484e

View File

@ -715,8 +715,9 @@ static int print_expr (qse_awk_t* awk, qse_awk_nde_t* nde)
case QSE_AWK_NDE_POS: case QSE_AWK_NDE_POS:
{ {
PUT_SRCSTR (awk, QSE_T("$")); PUT_SRCSTR (awk, QSE_T("$("));
PRINT_EXPR (awk, ((qse_awk_nde_pos_t*)nde)->val); PRINT_EXPR (awk, ((qse_awk_nde_pos_t*)nde)->val);
PUT_SRCSTR (awk, QSE_T(")"));
break; break;
} }