summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.cc b/src/main.cc
index 34b59ee..009ff34 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -1,5 +1,5 @@
/* Driver program for the hash function generator
- Copyright (C) 1989-1998, 2000, 2002-2003, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1989-1998, 2000, 2002-2003, 2009, 2017 Free Software Foundation, Inc.
Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
and Bruno Haible <bruno@clisp.org>.
@@ -34,13 +34,14 @@
class KeywordExt_Factory : public Keyword_Factory
{
virtual Keyword * create_keyword (const char *allchars, int allchars_length,
- const char *rest);
+ const char *rest, unsigned int lineno);
};
Keyword *
-KeywordExt_Factory::create_keyword (const char *allchars, int allchars_length, const char *rest)
+KeywordExt_Factory::create_keyword (const char *allchars, int allchars_length,
+ const char *rest, unsigned int lineno)
{
- return new KeywordExt (allchars, allchars_length, rest);
+ return new KeywordExt (allchars, allchars_length, rest, lineno);
}
/* ------------------------------------------------------------------------- */