diff options
Diffstat (limited to 'build2/test/script/regex')
-rw-r--r-- | build2/test/script/regex | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build2/test/script/regex b/build2/test/script/regex index 9a70030..7dacfee 100644 --- a/build2/test/script/regex +++ b/build2/test/script/regex @@ -57,6 +57,26 @@ namespace build2 struct line_char { + /* + private: + size_t data_; + + // Steal two bits from the pointer (need to static assert). + // + public: + line_type + type () const; + + int + special () const; // Stored as (shifted) int16. + + const char_string* + literal () const; + + const char_regex* + regex () const; + */ + line_type type; union |