From c9589217a057869582aa6a5ec1dbd048a525455e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 24 Nov 2009 15:34:11 -0800 Subject: Changes to make the code portable to C++ compilers, which can be taken advantage of for better diagnostics. --- regex.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'regex.h') 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; }; -- cgit v1.2.3