diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-09 22:11:01 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-12-09 22:11:01 +0200 |
commit | ae9e583a257264f4580d07354e79aac63db72695 (patch) | |
tree | 5a03a771ec6588c0dede291c56df8ec9cb783f7a /awk.h | |
parent | a5a114bf6c6f2efdcd7889ebf0d7f9f3ec235a74 (diff) | |
parent | d283194601bc7cb7c071317a8d53a89a3cbac40d (diff) | |
download | egawk-ae9e583a257264f4580d07354e79aac63db72695.tar.gz egawk-ae9e583a257264f4580d07354e79aac63db72695.tar.bz2 egawk-ae9e583a257264f4580d07354e79aac63db72695.zip |
Merge branch 'master' into array-iface
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -930,6 +930,15 @@ struct redirect { awk_output_buf_t output; }; +/* values for BINMODE, used as bit flags */ + +enum binmode_values { + TEXT_TRANSLATE = 0, /* usual \r\n ---> \n translation */ + BINMODE_INPUT = 1, /* no translation for input files */ + BINMODE_OUTPUT = 2, /* no translation for output files */ + BINMODE_BOTH = 3 /* no translation for either */ +}; + /* * structure for our source, either a command line string or a source file. */ @@ -1220,8 +1229,6 @@ DEREF(NODE *r) #define iszero(n) ((n)->numbr == 0.0) #endif -#define is_identchar(c) (isalnum(c) || (c) == '_') - #define var_uninitialized(n) ((n)->var_value == Nnull_string) #define get_lhs(n, r) (n)->type == Node_var && ! var_uninitialized(n) ? \ |