diff options
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/parser.cxx | 2 | ||||
-rw-r--r-- | libbuild2/cc/parser.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/parser.cxx b/libbuild2/cc/parser.cxx index abfe5bd..690f41c 100644 --- a/libbuild2/cc/parser.cxx +++ b/libbuild2/cc/parser.cxx @@ -187,7 +187,7 @@ namespace build2 // if (!ex && t.type == type::semi) { - module_marker_ = move (l); + module_marker_ = location_value (move (l)); return; } diff --git a/libbuild2/cc/parser.hxx b/libbuild2/cc/parser.hxx index cc2eaa3..f1188ff 100644 --- a/libbuild2/cc/parser.hxx +++ b/libbuild2/cc/parser.hxx @@ -47,7 +47,7 @@ namespace build2 lexer* l_; unit* u_; - optional<location> module_marker_; + optional<location_value> module_marker_; }; } } |