aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/lexer.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/lexer.test.cxx')
-rw-r--r--libbuild2/lexer.test.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/lexer.test.cxx b/libbuild2/lexer.test.cxx
index 84520d1..2e2f152 100644
--- a/libbuild2/lexer.test.cxx
+++ b/libbuild2/lexer.test.cxx
@@ -48,7 +48,8 @@ namespace build2
// Most alternative modes auto-expire so we need something underneath.
//
- lexer l (cin, path ("stdin"));
+ path in ("<stdin>"); // @@ PATH_NAME TODO
+ lexer l (cin, in);
if (m != lexer_mode::normal)
l.mode (m);