summaryrefslogtreecommitdiff
path: root/src/input.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.cc')
-rw-r--r--src/input.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input.cc b/src/input.cc
index c751e4c..67c93b5 100644
--- a/src/input.cc
+++ b/src/input.cc
@@ -972,8 +972,7 @@ Input::read_input ()
/* Allocate Keyword and add it to the list. */
Keyword *new_kw = _factory->create_keyword (keyword, keyword_length,
- rest);
- new_kw->_lineno = lineno;
+ rest, lineno);
*list_tail = new Keyword_List (new_kw);
list_tail = &(*list_tail)->rest();
}