added new functions
- qse_strxfcpy(), qse_strfcpy() cleaned up code a little - renamed a few functions. qse_awk_strtok() to qse_awk_rtx_strtok(), etc
This commit is contained in:
@ -137,12 +137,12 @@ static int split_record (qse_awk_rtx_t* run)
|
||||
{
|
||||
if (fs_len <= 1)
|
||||
{
|
||||
p = qse_awk_strxntok (run,
|
||||
p = qse_awk_rtx_strxntok (run,
|
||||
p, len, fs_ptr, fs_len, &tok, &tok_len);
|
||||
}
|
||||
else
|
||||
{
|
||||
p = qse_awk_strxntokbyrex (run, p, len,
|
||||
p = qse_awk_rtx_strxntokbyrex (run, p, len,
|
||||
run->gbl.fs, &tok, &tok_len, &errnum);
|
||||
if (p == QSE_NULL && errnum != QSE_AWK_ENOERR)
|
||||
{
|
||||
@ -194,12 +194,12 @@ static int split_record (qse_awk_rtx_t* run)
|
||||
{
|
||||
if (fs_len <= 1)
|
||||
{
|
||||
p = qse_awk_strxntok (
|
||||
p = qse_awk_rtx_strxntok (
|
||||
run, p, len, fs_ptr, fs_len, &tok, &tok_len);
|
||||
}
|
||||
else
|
||||
{
|
||||
p = qse_awk_strxntokbyrex (run, p, len,
|
||||
p = qse_awk_rtx_strxntokbyrex (run, p, len,
|
||||
run->gbl.fs, &tok, &tok_len, &errnum);
|
||||
if (p == QSE_NULL && errnum != QSE_AWK_ENOERR)
|
||||
{
|
||||
|
Reference in New Issue
Block a user