diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-07-24 10:45:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-07-24 10:45:08 +0200 |
commit | b95ea0797359b19d2dc34612761d8e7b63d41e68 (patch) | |
tree | 5ba1d15fa41cf74457351a76f592caaf69d3e9a0 /build2/cc/lexer.hxx | |
parent | 0d5196c1186832219e91955cde4f8fe5c01dfe26 (diff) |
Handle leading 'module;' marker (p0713)
Diffstat (limited to 'build2/cc/lexer.hxx')
-rw-r--r-- | build2/cc/lexer.hxx | 2 |
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); } |