mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
Remove trace facility. Use a debugger instead.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* Inline Functions for options.{h,cc}.
|
||||
|
||||
Copyright (C) 1989-1998, 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 1989-1998, 2000, 2002 Free Software Foundation, Inc.
|
||||
written by Douglas C. Schmidt (schmidt@ics.uci.edu)
|
||||
|
||||
This file is part of GNU GPERF.
|
||||
@@ -19,14 +19,10 @@ You should have received a copy of the GNU General Public License
|
||||
along with GNU GPERF; see the file COPYING. If not, write to the Free
|
||||
Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
|
||||
|
||||
// This needs:
|
||||
//#include "trace.h"
|
||||
|
||||
/* TRUE if option enable, else FALSE. */
|
||||
INLINE int
|
||||
Options::operator[] (Option_Type option)
|
||||
{
|
||||
T (Trace t ("Options::operator[]");)
|
||||
return option_word & option;
|
||||
}
|
||||
|
||||
@@ -34,7 +30,6 @@ Options::operator[] (Option_Type option)
|
||||
INLINE void
|
||||
Options::operator = (enum Option_Type opt)
|
||||
{
|
||||
T (Trace t ("Options::operator=");)
|
||||
option_word |= opt;
|
||||
}
|
||||
|
||||
@@ -42,7 +37,6 @@ Options::operator = (enum Option_Type opt)
|
||||
INLINE void
|
||||
Options::operator != (enum Option_Type opt)
|
||||
{
|
||||
T (Trace t ("Options::operator!=");)
|
||||
option_word &= ~opt;
|
||||
}
|
||||
|
||||
@@ -50,7 +44,6 @@ Options::operator != (enum Option_Type opt)
|
||||
INLINE void
|
||||
Options::reset (void)
|
||||
{
|
||||
T (Trace t ("Options::reset");)
|
||||
key_pos = 0;
|
||||
}
|
||||
|
||||
@@ -58,7 +51,6 @@ Options::reset (void)
|
||||
INLINE int
|
||||
Options::get (void)
|
||||
{
|
||||
T (Trace t ("Options::get");)
|
||||
return key_positions[key_pos++];
|
||||
}
|
||||
|
||||
@@ -66,7 +58,6 @@ Options::get (void)
|
||||
INLINE void
|
||||
Options::set_asso_max (int r)
|
||||
{
|
||||
T (Trace t ("Options::set_asso_max");)
|
||||
size = r;
|
||||
}
|
||||
|
||||
@@ -74,7 +65,6 @@ Options::set_asso_max (int r)
|
||||
INLINE int
|
||||
Options::get_asso_max (void)
|
||||
{
|
||||
T (Trace t ("Options::get_asso_max");)
|
||||
return size;
|
||||
}
|
||||
|
||||
@@ -82,7 +72,6 @@ Options::get_asso_max (void)
|
||||
INLINE int
|
||||
Options::get_max_keysig_size (void)
|
||||
{
|
||||
T (Trace t ("Options::get_max_keysig_size");)
|
||||
return total_keysig_size;
|
||||
}
|
||||
|
||||
@@ -90,7 +79,6 @@ Options::get_max_keysig_size (void)
|
||||
INLINE void
|
||||
Options::set_keysig_size (int size)
|
||||
{
|
||||
T (Trace t ("Options::set_keysig_size");)
|
||||
total_keysig_size = size;
|
||||
}
|
||||
|
||||
@@ -98,7 +86,6 @@ Options::set_keysig_size (int size)
|
||||
INLINE int
|
||||
Options::get_jump (void)
|
||||
{
|
||||
T (Trace t ("Options::get_jump");)
|
||||
return jump;
|
||||
}
|
||||
|
||||
@@ -106,7 +93,6 @@ Options::get_jump (void)
|
||||
INLINE const char *
|
||||
Options::get_function_name (void)
|
||||
{
|
||||
T (Trace t ("Options::get_function_name");)
|
||||
return function_name;
|
||||
}
|
||||
|
||||
@@ -114,7 +100,6 @@ Options::get_function_name (void)
|
||||
INLINE const char *
|
||||
Options::get_key_name (void)
|
||||
{
|
||||
T (Trace t ("Options::get_key_name");)
|
||||
return key_name;
|
||||
}
|
||||
|
||||
@@ -122,7 +107,6 @@ Options::get_key_name (void)
|
||||
INLINE const char *
|
||||
Options::get_initializer_suffix (void)
|
||||
{
|
||||
T (Trace t ("Options::get_initializer_suffix");)
|
||||
return initializer_suffix;
|
||||
}
|
||||
|
||||
@@ -130,7 +114,6 @@ Options::get_initializer_suffix (void)
|
||||
INLINE const char *
|
||||
Options::get_hash_name (void)
|
||||
{
|
||||
T (Trace t ("Options::get_hash_name");)
|
||||
return hash_name;
|
||||
}
|
||||
|
||||
@@ -138,7 +121,6 @@ Options::get_hash_name (void)
|
||||
INLINE const char *
|
||||
Options::get_wordlist_name (void)
|
||||
{
|
||||
T (Trace t ("Options::get_wordlist_name");)
|
||||
return wordlist_name;
|
||||
}
|
||||
|
||||
@@ -146,7 +128,6 @@ Options::get_wordlist_name (void)
|
||||
INLINE const char *
|
||||
Options::get_class_name (void)
|
||||
{
|
||||
T (Trace t ("Options::get_class_name");)
|
||||
return class_name;
|
||||
}
|
||||
|
||||
@@ -154,7 +135,6 @@ Options::get_class_name (void)
|
||||
INLINE int
|
||||
Options::initial_value (void)
|
||||
{
|
||||
T (Trace t ("Options::initial_value");)
|
||||
return initial_asso_value;
|
||||
}
|
||||
|
||||
@@ -162,7 +142,6 @@ Options::initial_value (void)
|
||||
INLINE int
|
||||
Options::get_iterations (void)
|
||||
{
|
||||
T (Trace t ("Options::get_iterations");)
|
||||
return iterations;
|
||||
}
|
||||
|
||||
@@ -170,7 +149,6 @@ Options::get_iterations (void)
|
||||
INLINE const char *
|
||||
Options::get_delimiter ()
|
||||
{
|
||||
T (Trace t ("Options::get_delimiter");)
|
||||
return delimiters;
|
||||
}
|
||||
|
||||
@@ -178,6 +156,5 @@ Options::get_delimiter ()
|
||||
INLINE int
|
||||
Options::get_total_switches ()
|
||||
{
|
||||
T (Trace t ("Options::get_total_switches");)
|
||||
return total_switches;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user