diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-10-05 12:30:00 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-10-05 12:30:00 +0000 |
commit | 850ee7fc4eb776216f4c4974f84d0357f1b95ecb (patch) | |
tree | 18dabe4828ef39460ff7bb6802b65aac00bc2844 /src | |
parent | 802c02634ffb36a1ca84207dc47f27d86bcbfc70 (diff) | |
download | cflow-850ee7fc4eb776216f4c4974f84d0357f1b95ecb.tar.gz cflow-850ee7fc4eb776216f4c4974f84d0357f1b95ecb.tar.bz2 |
Rename to omit_symbol_names_option.
Diffstat (limited to 'src')
-rw-r--r-- | src/cflow.h | 2 | ||||
-rw-r--r-- | src/main.c | 8 | ||||
-rw-r--r-- | src/parser.c | 2 | ||||
-rw-r--r-- | src/posix.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/cflow.h b/src/cflow.h index 5e890c6..45d4559 100644 --- a/src/cflow.h +++ b/src/cflow.h @@ -148,7 +148,7 @@ extern int emacs_option; extern int debug; extern int preprocess_option; extern int omit_arguments_option; -extern int omit_symbol_name_option; +extern int omit_symbol_names_option; extern int token_stack_length; extern int token_stack_increase; @@ -206,8 +206,8 @@ int brief_listing; /* Produce short listing */ int reverse_tree; /* Generate reverse tree */ int max_depth; /* The depth at which the flowgraph is cut off */ int emacs_option; /* Format and check for use with Emacs cflow-mode */ -int omit_arguments_option; /* Omit arguments from function declaration string */ -int omit_symbol_name_option; /* Omit symbol name from symbol declaration string */ +int omit_arguments_option; /* Omit arguments from function declaration string */ +int omit_symbol_names_option; /* Omit symbol name from symbol declaration string */ #define SM_FUNCTIONS 0x0001 #define SM_DATA 0x0002 @@ -609,10 +609,10 @@ parse_opt (int key, char *arg, struct argp_state *state) omit_arguments_option = 0; break; case OPT_OMIT_SYMBOL_NAMES: - omit_symbol_name_option = 1; + omit_symbol_names_option = 1; break; case OPT_NO_OMIT_SYMBOL_NAMES: - omit_symbol_name_option = 0; + omit_symbol_names_option = 0; break; case 'l': print_levels = 1; diff --git a/src/parser.c b/src/parser.c index 04919d2..249b7f4 100644 --- a/src/parser.c +++ b/src/parser.c @@ -264,7 +264,7 @@ finish_save_stack(char *name) { int i; int level = 0; - int found_ident = !omit_symbol_name_option; + int found_ident = !omit_symbol_names_option; need_space = 0; for (i = 0; i < save_end ; i++) { diff --git a/src/posix.c b/src/posix.c index 00d0d76..d8b2fc4 100644 --- a/src/posix.c +++ b/src/posix.c @@ -58,7 +58,7 @@ posix_output_handler(cflow_output_command cmd, /* Additional check for consistency */ if (emacs_option) error(1, 0, _("--format=posix is not compatible with --emacs")); - brief_listing = print_line_numbers = omit_symbol_name_option = 1; + brief_listing = print_line_numbers = omit_symbol_names_option = 1; break; case cflow_output_begin: case cflow_output_end: |