added hawk_tokenize_bchars() and hawk_tokenize_uchars().

trying to get functions right in gem-nwif2.c
This commit is contained in:
2019-12-29 16:54:12 +00:00
parent 757b7e6c63
commit 33f0f6b245
27 changed files with 2945 additions and 2384 deletions

View File

@ -245,16 +245,12 @@ static int split_record (hawk_rtx_t* rtx)
{
case 0:
/* 1 character FS */
p = hawk_rtx_strxntok (
rtx, p, len, fs_ptr, fs_len, &tok);
p = hawk_rtx_strxntok(rtx, p, len, fs_ptr, fs_len, &tok);
break;
case 1:
/* 5 character FS beginning with ? */
p = hawk_rtx_strxnfld (
rtx, p, len,
fs_ptr[1], fs_ptr[2],
fs_ptr[3], fs_ptr[4], &tok);
p = hawk_rtx_strxnfld(rtx, p, len, fs_ptr[1], fs_ptr[2], fs_ptr[3], fs_ptr[4], &tok);
break;
default: