diff options
Diffstat (limited to 'build2/file.cxx')
-rw-r--r-- | build2/file.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/build2/file.cxx b/build2/file.cxx index 68b655e..9a5ab80 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -275,9 +275,7 @@ namespace build2 ifs.exceptions (ifstream::failbit | ifstream::badbit); - path rbf (diag_relative (bf)); - - lexer lex (ifs, rbf.string ()); + lexer lex (ifs, bf); token t (lex.next ()); token_type tt; @@ -286,7 +284,7 @@ namespace build2 tt != token_type::prepend && tt != token_type::append)) { - error << "variable '" << var << "' expected as first line in " << rbf; + error << "variable '" << var << "' expected as first line in " << bf; throw failed (); // Suppress "used uninitialized" warning. } |