changed how to handle appends(a,r,R), to use less memory when append text/file is large
This commit is contained in:
@ -827,6 +827,7 @@ typedef enum qse_awk_option_t qse_awk_option_t;
|
||||
enum qse_awk_errnum_t
|
||||
{
|
||||
QSE_AWK_ENOERR, /**< no error */
|
||||
QSE_AWK_EINTERN, /**< internal error */
|
||||
|
||||
/* common errors */
|
||||
QSE_AWK_ENOMEM, /**< insufficient memory */
|
||||
@ -843,7 +844,6 @@ enum qse_awk_errnum_t
|
||||
QSE_AWK_EWRITE, /**< cannot write '${0}' */
|
||||
QSE_AWK_ECLOSE, /**< cannot close '${0}' */
|
||||
|
||||
QSE_AWK_EINTERN, /**< internal error */
|
||||
QSE_AWK_ERUNTIME,/**< general run-time error */
|
||||
QSE_AWK_EBLKNST, /**< block nested too deeply */
|
||||
QSE_AWK_EEXPRNST,/**< expression nested too deeply */
|
||||
|
@ -83,6 +83,7 @@ typedef struct qse_sed_loc_t qse_sed_loc_t;
|
||||
enum qse_sed_errnum_t
|
||||
{
|
||||
QSE_SED_ENOERR, /**< no error */
|
||||
QSE_SED_EINTERN, /**< internal error */
|
||||
QSE_SED_ENOMEM, /**< insufficient memory */
|
||||
QSE_SED_EINVAL, /**< invalid parameter or data */
|
||||
QSE_SED_ECMDNR, /**< command '${0}' not recognized */
|
||||
|
Reference in New Issue
Block a user