diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-07-05 16:49:05 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2016-07-05 16:49:05 -0400 |
commit | f421a5fbef014040712a7c89e8863c7196f6ab93 (patch) | |
tree | 22a9544211a974bf155e5971d33c89a9796b93a5 /awk.h | |
parent | cedd0829b0075533986fce1e699bc6ae511a891e (diff) | |
download | egawk-f421a5fbef014040712a7c89e8863c7196f6ab93.tar.gz egawk-f421a5fbef014040712a7c89e8863c7196f6ab93.tar.bz2 egawk-f421a5fbef014040712a7c89e8863c7196f6ab93.zip |
Remove FIELD flag, since it is the inverse of the MALLOC flag.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -387,9 +387,6 @@ typedef struct exp_node { NODETYPE type; unsigned int flags; -/* any type */ -# define MALLOC 0x0001 /* can be free'd */ - /* type = Node_val */ /* * STRING and NUMBER are mutually exclusive, except for the special @@ -426,13 +423,13 @@ typedef struct exp_node { * * We hope that the rest of the flags are self-explanatory. :-) */ +# define MALLOC 0x0001 /* stptr can be free'd, i.e. not a field node pointing into a shared buffer */ # define STRING 0x0002 /* assigned as string */ # define STRCUR 0x0004 /* string value is current */ # define NUMCUR 0x0008 /* numeric value is current */ # define NUMBER 0x0010 /* assigned as number */ # define MAYBE_NUM 0x0020 /* user input: if NUMERIC then * a NUMBER */ -# define FIELD 0x0040 /* this is a field */ # define INTLSTR 0x0080 /* use localized version */ # define NUMINT 0x0100 /* numeric value is an integer */ # define INTIND 0x0200 /* integral value is array index; |