1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Remove the global vectors. Move them to the class Search.

This commit is contained in:
Bruno Haible
2002-11-28 12:56:08 +00:00
parent aca3f4abae
commit c73312f0fd
10 changed files with 65 additions and 96 deletions

View File

@@ -26,8 +26,6 @@
#ifndef keyword_h
#define keyword_h 1
#include "vectors.h"
/* An instance of this class is a keyword, as specified in the input file. */
struct Keyword
{
@@ -37,7 +35,7 @@ struct Keyword
/* Data members defined immediately by the input file. */
/* The keyword as a string, possibly containing NUL bytes. */
const char *const _allchars;
const int _allchars_length;
int const _allchars_length;
/* Additional stuff seen on the same line of the input file. */
const char *const _rest;
};