From 1958b829f22e3b69d4c4c23662e0d1c7c4d2e62b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 24 Jun 2017 11:43:45 +0200 Subject: Make VC compatible with 'export module M;' by fixing up preprocessed output --- build2/cc/parser.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build2/cc/parser.hxx') 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_; -- cgit v1.1