aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-15 09:23:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-15 09:23:39 +0200
commit96c59ff30a2dbe2cc441024c81caaf79823441ac (patch)
tree3e6108d8bb34627ff1947e6455bded3ca4af2335 /libbuild2/cc/parser.cxx
parent11f990b55294a9eb8d5d4f29fa9a277702ca72b9 (diff)
Fix bug in cc::parser location storage
Diffstat (limited to 'libbuild2/cc/parser.cxx')
-rw-r--r--libbuild2/cc/parser.cxx2
1 files changed, 1 insertions, 1 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;
}