aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-08-20 01:40:43 -0600
committerArnold D. Robbins <arnold@skeeve.com>2020-08-20 01:40:43 -0600
commit886abd96488a120c196eddaf5db7943ff1b565e8 (patch)
tree3699cc6c04c878843bea3c804144b2537a755d6d /awk.h
parent216cf481c7728792aff212416b378c432ab28ccf (diff)
downloadegawk-886abd96488a120c196eddaf5db7943ff1b565e8.tar.gz
egawk-886abd96488a120c196eddaf5db7943ff1b565e8.tar.bz2
egawk-886abd96488a120c196eddaf5db7943ff1b565e8.zip
Fix CentOS 7 core dumps.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/awk.h b/awk.h
index 3b688b0c..c2218cd8 100644
--- a/awk.h
+++ b/awk.h
@@ -382,7 +382,6 @@ typedef struct exp_node {
#endif
char *sp;
size_t slen;
- long sref;
int idx;
wchar_t *wsp;
size_t wslen;
@@ -464,6 +463,7 @@ typedef struct exp_node {
NUMCONSTSTR = 0x20000, /* have string value for numeric constant */
REGEX = 0x40000, /* this is a typed regex */
} flags;
+ long valref;
} NODE;
#define vname sub.nodep.name
@@ -500,7 +500,6 @@ 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 strndmode sub.val.rndmode
#define wstptr sub.val.wsp