1228060Sbapt/* Inline Functions for keyword.{h,cc}.
2228060Sbapt
3228060Sbapt   Copyright (C) 1989-1998, 2000, 2002 Free Software Foundation, Inc.
4228060Sbapt   Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
5228060Sbapt   and Bruno Haible <bruno@clisp.org>.
6228060Sbapt
7228060Sbapt   This file is part of GNU GPERF.
8228060Sbapt
9228060Sbapt   GNU GPERF is free software; you can redistribute it and/or modify
10228060Sbapt   it under the terms of the GNU General Public License as published by
11228060Sbapt   the Free Software Foundation; either version 2, or (at your option)
12228060Sbapt   any later version.
13228060Sbapt
14228060Sbapt   GNU GPERF is distributed in the hope that it will be useful,
15228060Sbapt   but WITHOUT ANY WARRANTY; without even the implied warranty of
16228060Sbapt   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17228060Sbapt   GNU General Public License for more details.
18228060Sbapt
19228060Sbapt   You should have received a copy of the GNU General Public License
20228060Sbapt   along with this program; see the file COPYING.
21228060Sbapt   If not, write to the Free Software Foundation, Inc.,
22228060Sbapt   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
23228060Sbapt
24228060Sbapt/* ----------------------------- Keyword class ----------------------------- */
25228060Sbapt
26228060Sbapt/* Constructor.  */
27228060SbaptINLINE
28228060SbaptKeyword::Keyword (const char *allchars, int allchars_length, const char *rest)
29228060Sbapt  : _allchars (allchars), _allchars_length (allchars_length), _rest (rest)
30228060Sbapt{
31228060Sbapt}
32228060Sbapt
33228060Sbapt
34228060Sbapt/* --------------------------- KeywordExt class --------------------------- */
35228060Sbapt
36228060Sbapt/* Constructor.  */
37228060SbaptINLINE
38228060SbaptKeywordExt::KeywordExt (const char *allchars, int allchars_length, const char *rest)
39228060Sbapt  : Keyword (allchars, allchars_length, rest),
40228060Sbapt    _final_index (-1)
41228060Sbapt{
42228060Sbapt}
43