diff options
Diffstat (limited to 'build2/cc/lexer.hxx')
-rw-r--r-- | build2/cc/lexer.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/build2/cc/lexer.hxx b/build2/cc/lexer.hxx index 1869344..aa24f6a 100644 --- a/build2/cc/lexer.hxx +++ b/build2/cc/lexer.hxx @@ -64,8 +64,7 @@ namespace build2 uint64_t line = 0; uint64_t column = 0; - // Physical position in the stream, currently only for identifiers and - // only if the stream is ifdstream. + // Physical position in the stream, currently only for identifiers. // uint64_t position = 0; }; @@ -78,7 +77,7 @@ namespace build2 class lexer: protected butl::char_scanner { public: - lexer (istream& is, const path& name) + lexer (ifdstream& is, const path& name) : char_scanner (is, false), name_ (name), fail ("error", &name_), |