diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-07 11:12:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-07 11:12:43 +0200 |
commit | 882583f64e517ab232edb6bbb7433631c655c9da (patch) | |
tree | 3d0e8e16c20b1346cb34961c7f908b07427e9632 /libbuild2/test/script/lexer.test.cxx | |
parent | cf18da3ac461087ccffd31222dbe4fa2e6428d56 (diff) |
Initial work on path_name use for `-` to stdin/stdout translation
Diffstat (limited to 'libbuild2/test/script/lexer.test.cxx')
-rw-r--r-- | libbuild2/test/script/lexer.test.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/test/script/lexer.test.cxx b/libbuild2/test/script/lexer.test.cxx index 5a421b8..fc26acc 100644 --- a/libbuild2/test/script/lexer.test.cxx +++ b/libbuild2/test/script/lexer.test.cxx @@ -53,7 +53,8 @@ namespace build2 m == lexer_mode::description_line || m == lexer_mode::variable); - lexer l (cin, path ("stdin"), u ? lexer_mode::command_line : m); + path in ("<stdin>"); // @@ PATH_NAME TODO + lexer l (cin, in, u ? lexer_mode::command_line : m); if (u) l.mode (m); |