diff options
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -374,6 +374,7 @@ typedef struct exp_node { #endif char *sp; size_t slen; + long sref; int idx; wchar_t *wsp; size_t wslen; @@ -383,10 +384,6 @@ typedef struct exp_node { NODETYPE type; unsigned int flags; - // We access valref for both Node_val and Node_regex values, - // so it needs to be outside the union. - long valref; - /* type = Node_val */ /* * STRING and NUMBER are mutually exclusive, except for the special @@ -494,6 +491,7 @@ typedef struct exp_node { */ #define stptr sub.val.sp #define stlen sub.val.slen +#define valref sub.val.sref #define stfmt sub.val.idx #define wstptr sub.val.wsp #define wstlen sub.val.wslen |