fixed quite a few bugs and enhanced error handling in sed

This commit is contained in:
2009-05-25 07:29:12 +00:00
parent 78146a8f91
commit 2a4dd14b2a
5 changed files with 363 additions and 296 deletions

View File

@ -26,7 +26,7 @@ static const qse_char_t* geterrstr (int errnum)
QSE_T("out of memory"),
QSE_T("command '${0}' not recognized"),
QSE_T("command code missing"),
QSE_T("command '${0}' not terminated properly"),
QSE_T("command '${0}' incomplete"),
QSE_T("regular expression '${0}' incomplete"),
QSE_T("failed to compile regular expression '${0}'"),
QSE_T("failed to match regular expression"),
@ -49,6 +49,7 @@ static const qse_char_t* geterrstr (int errnum)
QSE_T("multiple occurrence specifier"),
QSE_T("occurrence specifier is zero"),
QSE_T("occurrence specifier too large"),
QSE_T("io error with file '${0}'"),
QSE_T("error returned by user io handler")
};