renamed QSE_AWK_EXTRAKWS to QSE_AWK_NEXTOFILE
fixed a minor glitch in qse_pio_t fixed the nil field to xnil in qse_rbt_t to minimize collision with external header files since nil is a commonly found macro added a simple optimization to qse_memcpy()
This commit is contained in:
@ -44,7 +44,7 @@ int main ()
|
||||
}
|
||||
|
||||
qse_awk_getopt (awk, QSE_AWK_TRAIT, &opt);
|
||||
opt |= QSE_AWK_EXTRAKWS;
|
||||
opt |= QSE_AWK_NEXTOFILE;
|
||||
qse_awk_setopt (awk, QSE_AWK_TRAIT, &opt);
|
||||
|
||||
psin[0].type = QSE_AWK_PARSESTD_STR;
|
||||
|
@ -361,10 +361,10 @@ static int awk_main_2 (MyAwk& awk, int argc, qse_char_t* argv[])
|
||||
cmdline_t cmdline;
|
||||
int n;
|
||||
|
||||
awk.setTrait (awk.getTrait() | QSE_AWK_EXTRAKWS | QSE_AWK_FLEXMAP | QSE_AWK_RWPIPE);
|
||||
awk.setTrait (awk.getTrait() | QSE_AWK_FLEXMAP | QSE_AWK_RWPIPE | QSE_AWK_NEXTOFILE);
|
||||
|
||||
// ARGV[0]
|
||||
if (awk.addArgument (QSE_T("awk08")) <= -1)
|
||||
if (awk.addArgument (QSE_T("awk25")) <= -1)
|
||||
{
|
||||
print_error (awk);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user