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

Move the search algorithm to search.h, search.cc.

This commit is contained in:
Bruno Haible
2002-11-26 12:48:39 +00:00
parent 122b13cc95
commit aca3f4abae
11 changed files with 747 additions and 864 deletions

View File

@@ -152,6 +152,9 @@ Input::strcspn (const char *s, const char *reject)
void
Input::set_output_types ()
{
_array_type = NULL;
_return_type = NULL;
_struct_tag = NULL;
if (option[TYPE])
{
_array_type = get_array_type ();
@@ -348,6 +351,7 @@ Input::read_keys ()
temp->rest() = parse_line (ptr, delimiter);
/* See if any additional C code is included at end of this file. */
_additional_code = false;
if (ptr)
_additional_code = true;
}