summaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-24 15:34:11 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-24 15:34:11 -0800
commitc9589217a057869582aa6a5ec1dbd048a525455e (patch)
treed1a0310b5f78647e21757ec1c349bee9285d2157 /regex.h
parentc542db95be66e6db56dba1c54551ffca9afdf584 (diff)
downloadtxr-c9589217a057869582aa6a5ec1dbd048a525455e.tar.gz
txr-c9589217a057869582aa6a5ec1dbd048a525455e.tar.bz2
txr-c9589217a057869582aa6a5ec1dbd048a525455e.zip
Changes to make the code portable to C++ compilers, which
can be taken advantage of for better diagnostics.
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/regex.h b/regex.h
index d33f5c84..56e375c9 100644
--- a/regex.h
+++ b/regex.h
@@ -42,18 +42,18 @@ typedef cset_L2_t *cset_L3_t[17];
struct any_char_set {
unsigned type : 3;
- unsigned compl : 1;
+ unsigned comp : 1;
};
struct small_char_set {
unsigned type : 3;
- unsigned compl : 1;
+ unsigned comp : 1;
cset_L0_t bitcell;
};
struct displaced_char_set {
unsigned type : 3;
- unsigned compl : 1;
+ unsigned comp : 1;
cset_L0_t bitcell;
wchar_t base;
};
@@ -61,13 +61,13 @@ struct displaced_char_set {
struct large_char_set {
unsigned type : 3;
- unsigned compl : 1;
+ unsigned comp : 1;
cset_L2_t dir;
};
struct xlarge_char_set {
unsigned type : 3;
- unsigned compl : 1;
+ unsigned comp : 1;
cset_L3_t dir;
};