aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/parser.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-24 11:43:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-24 11:43:45 +0200
commit1958b829f22e3b69d4c4c23662e0d1c7c4d2e62b (patch)
treefb94b1cba0d34e9b4cc6e1834495a9bd1e62a289 /build2/cc/parser.hxx
parentff8ed209cd80799199e0b2e3d37213d549bc342f (diff)
Make VC compatible with 'export module M;' by fixing up preprocessed output
Diffstat (limited to 'build2/cc/parser.hxx')
-rw-r--r--build2/cc/parser.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/cc/parser.hxx b/build2/cc/parser.hxx
index 8f327cd..d542d57 100644
--- a/build2/cc/parser.hxx
+++ b/build2/cc/parser.hxx
@@ -37,6 +37,9 @@ namespace build2
string
parse_module_name (token&);
+ public:
+ uint64_t export_pos; // Temporary hack, see parse_unit().
+
private:
lexer* l_;
translation_unit* u_;