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:
@ -1007,8 +1007,8 @@ enum qse_awk_trait_t
|
||||
/** allows undeclared variables */
|
||||
QSE_AWK_IMPLICIT = (1 << 0),
|
||||
|
||||
/** enable abort,reset,nextofile,OFILENAME,@include. */
|
||||
QSE_AWK_EXTRAKWS = (1 << 2),
|
||||
/** enables nextofile and NEXTOFILE */
|
||||
QSE_AWK_NEXTOFILE = (1 << 0),
|
||||
|
||||
/** supports \b getline, \b print, \b printf, \b close, \b fflush,
|
||||
* piping, and file rediction */
|
||||
@ -1110,8 +1110,8 @@ enum qse_awk_trait_t
|
||||
QSE_AWK_STRIPSTRSPC | QSE_AWK_NCMPONSTR | QSE_AWK_STRICTNAMING,
|
||||
|
||||
QSE_AWK_MODERN =
|
||||
QSE_AWK_CLASSIC | QSE_AWK_EXTRAKWS | QSE_AWK_FLEXMAP |
|
||||
QSE_AWK_RWPIPE | QSE_AWK_TOLERANT
|
||||
QSE_AWK_CLASSIC | QSE_AWK_FLEXMAP |
|
||||
QSE_AWK_RWPIPE | QSE_AWK_TOLERANT | QSE_AWK_NEXTOFILE
|
||||
};
|
||||
typedef enum qse_awk_trait_t qse_awk_trait_t;
|
||||
|
||||
|
@ -226,7 +226,7 @@ struct qse_rbt_t
|
||||
|
||||
qse_byte_t scale[2]; /**< length scale */
|
||||
|
||||
qse_rbt_pair_t nil; /**< internal nil node */
|
||||
qse_rbt_pair_t xnil; /**< internal nil node */
|
||||
|
||||
qse_size_t size; /**< number of pairs */
|
||||
qse_rbt_pair_t* root; /**< root pair */
|
||||
|
Reference in New Issue
Block a user