This commit is contained in:
2008-07-15 23:56:32 +00:00
parent 059ee04507
commit 754c2970af
6 changed files with 27 additions and 51 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.hpp 240 2008-07-11 14:41:16Z baconevi $
* $Id: Awk.hpp 245 2008-07-15 05:56:32Z baconevi $
*
* {License}
*/
@ -545,7 +545,10 @@ public:
OPT_STRCONCAT = ASE_AWK_STRCONCAT,
OPT_EXTIO = ASE_AWK_EXTIO,
OPT_COPROC = ASE_AWK_COPROC,
OPT_BLOCKLESS = ASE_AWK_BLOCKLESS,
/** Can terminate a statement with a new line */
OPT_NEWLINE = ASE_AWK_NEWLINE,
OPT_BASEONE = ASE_AWK_BASEONE,
OPT_STRIPSPACES = ASE_AWK_STRIPSPACES,
@ -564,9 +567,7 @@ public:
/** Allows the assignment of a map value to a variable */
OPT_MAPTOVAR = ASE_AWK_MAPTOVAR,
/** Allows BEGIN, END, pattern-action blocks */
OPT_PABLOCK = ASE_AWK_PABLOCK,
/** Can terminate a statement with a new line */
OPT_NEWLINE = ASE_AWK_NEWLINE
OPT_PABLOCK = ASE_AWK_PABLOCK
};
// end of enum Option

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.h 239 2008-07-11 11:07:17Z baconevi $
* $Id: awk.h 245 2008-07-15 05:56:32Z baconevi $
*
* {License}
*/
@ -189,8 +189,8 @@ enum ase_awk_option_t
/* support co-process - NOT IMPLEMENTED YET */
ASE_AWK_COPROC = (1 << 8),
/* support blockless patterns */
ASE_AWK_BLOCKLESS = (1 << 9),
/* can terminate a statement with a new line */
ASE_AWK_NEWLINE = (1 << 9),
/* use 1 as the start index for string operations and ARGV */
ASE_AWK_BASEONE = (1 << 10),
@ -226,10 +226,7 @@ enum ase_awk_option_t
ASE_AWK_MAPTOVAR = (1 << 16),
/* allows BEGIN, END, pattern-action blocks */
ASE_AWK_PABLOCK = (1 << 17),
/* can terminate a statement with a new line */
ASE_AWK_NEWLINE = (1 << 18)
ASE_AWK_PABLOCK = (1 << 17)
};
/* error code */