aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-01-19 21:08:52 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-01-19 21:08:52 +0200
commit195f6c171ee765ef7c0bcba5b98ffea15b439882 (patch)
tree259100f8309504e6b3b8b254f727f413f3d13e26 /awk.h
parent75793ea4b9a82c7aaae712d42c8f4a6370c54944 (diff)
parent5a619e1986724cf8e27b637509925a8da36837e8 (diff)
downloadegawk-195f6c171ee765ef7c0bcba5b98ffea15b439882.tar.gz
egawk-195f6c171ee765ef7c0bcba5b98ffea15b439882.tar.bz2
egawk-195f6c171ee765ef7c0bcba5b98ffea15b439882.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/awk.h b/awk.h
index 278f54c5..d5c88fd9 100644
--- a/awk.h
+++ b/awk.h
@@ -343,7 +343,7 @@ typedef struct exp_node {
} l;
union {
struct exp_node *rptr;
- Regexp *preg;
+ Regexp *preg[2];
struct exp_node **av;
BUCKET **bv;
void *aq;
@@ -361,9 +361,8 @@ typedef struct exp_node {
struct exp_node *rn;
unsigned long cnt;
unsigned long reflags;
-# define CASE 1
-# define CONSTANT 2
-# define FS_DFLT 4
+# define CONSTANT 1
+# define FS_DFLT 2
} nodep;
struct {
@@ -1083,7 +1082,7 @@ extern long NF;
extern long NR;
extern long FNR;
extern int BINMODE;
-extern int IGNORECASE;
+extern bool IGNORECASE;
extern bool RS_is_null;
extern char *OFS;
extern int OFSlen;