added qse_dir_geterrnum()
This commit is contained in:
@ -32,6 +32,7 @@ const qse_char_t* qse_awk_dflerrstr (const qse_awk_t* awk, qse_awk_errnum_t errn
|
||||
|
||||
QSE_T("insufficient memory"),
|
||||
QSE_T("invalid parameter or data"),
|
||||
QSE_T("access denied"),
|
||||
QSE_T("not supported"),
|
||||
QSE_T("operation not allowed"),
|
||||
QSE_T("'${0}' not found"),
|
||||
|
@ -718,6 +718,10 @@ static int fnc_split (qse_awk_rtx_t* run, const qse_awk_fnc_info_t* fi)
|
||||
t1 = qse_awk_rtx_makemapval (run);
|
||||
if (t1 == QSE_NULL) goto oops;
|
||||
|
||||
/* use the following 3 lines intead of
|
||||
* qse_awk_rtx_setrefval (run, a1, t1);
|
||||
* just for less overhead.
|
||||
*/
|
||||
qse_awk_rtx_refdownval (run, *a1_ref);
|
||||
*a1_ref = t1;
|
||||
qse_awk_rtx_refupval (run, *a1_ref);
|
||||
|
@ -2155,7 +2155,6 @@ static qse_awk_nde_t* parse_while (qse_awk_t* awk, const qse_awk_loc_t* xloc)
|
||||
oops:
|
||||
if (body) qse_awk_clrpt (awk, body);
|
||||
if (test) qse_awk_clrpt (awk, test);
|
||||
QSE_ASSERT (nde == QSE_NULL);
|
||||
return QSE_NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user