1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Rework the Read_Line class.

This commit is contained in:
Bruno Haible
2002-12-11 18:50:41 +00:00
parent c3412a80e7
commit ebc7fe6188
7 changed files with 23 additions and 8 deletions

View File

@@ -1,5 +1,12 @@
2002-11-02 Bruno Haible <bruno@clisp.org>
* src/read-line.h (Read_Line::Read_Line): Make FILE* argument
mandatory. Move body to read-line.icc.
* src/read-line.icc (Read_Line::Read_Line): New constructor.
* src/input.h (Input::Input): Add FILE* argument.
* src/input.cc (Input::Input): Likewise.
* src/main.cc (main): Pass stdin to Input constructor.
* src/options.h (DEFAULTCHARS): Remove.
(Positions::MAX_KEY_POS): Set to 255.
(Positions::_positions): Increase array size.