From b95ea0797359b19d2dc34612761d8e7b63d41e68 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Jul 2018 10:45:08 +0200 Subject: Handle leading 'module;' marker (p0713) --- build2/cc/lexer.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/lexer.hxx') 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); } -- cgit v1.1