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

Initialize the Keyword::_lineno field through the constructor.

This commit is contained in:
Bruno Haible
2017-04-16 17:39:15 +02:00
parent 09cfae667e
commit a459641a53
5 changed files with 30 additions and 15 deletions

View File

@@ -1,3 +1,15 @@
2017-04-16 Bruno Haible <bruno@clisp.org>
Initialize the Keyword::_lineno field through the constructor.
* src/keyword.h (struct Keyword, struct KeywordExt): Add lineno argument
to constructor.
(Keyword_Factory::create_keyword): Add lineno argument.
* src/keyword.icc (struct Keyword, struct KeywordExt): Add lineno
argument to constructor.
* src/main.cc (KeywordExt_Factory::create_keyword): Pass lineno argument
to KeywordExt constructor.
* src/input.cc (Input::read_input): Pass lineno to create_keyword.
2017-03-31 Bruno Haible <bruno@clisp.org>
Fix doc build error with perl 5.22.