aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/lexer.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-24 10:45:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-24 10:45:08 +0200
commitb95ea0797359b19d2dc34612761d8e7b63d41e68 (patch)
tree5ba1d15fa41cf74457351a76f592caaf69d3e9a0 /build2/cc/lexer.hxx
parent0d5196c1186832219e91955cde4f8fe5c01dfe26 (diff)
Handle leading 'module;' marker (p0713)
Diffstat (limited to 'build2/cc/lexer.hxx')
-rw-r--r--build2/cc/lexer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/lexer.hxx b/build2/cc/lexer.hxx
index d41038d..0f52aff 100644
--- a/build2/cc/lexer.hxx
+++ b/build2/cc/lexer.hxx
@@ -177,7 +177,7 @@ namespace build2
// Diagnostics plumbing.
//
inline location
- get_location (const token& t, const void*)
+ get_location (const token& t, const void* = nullptr)
{
return location (&t.file, t.line, t.column);
}