aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/parser.cxx')
-rw-r--r--libbuild2/cc/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/parser.cxx b/libbuild2/cc/parser.cxx
index 706dc48..45120e2 100644
--- a/libbuild2/cc/parser.cxx
+++ b/libbuild2/cc/parser.cxx
@@ -197,7 +197,7 @@ namespace build2
// enter: module keyword
// leave: semi
- location l (get_location (t));
+ location_value l (get_location (t));
l_->next (t);
@@ -208,7 +208,7 @@ namespace build2
//
if (!ex && t.type == type::semi)
{
- module_marker_ = location_value (move (l));
+ module_marker_ = move (l);
return;
}