Main Page | Data Structures | File List | Data Fields | Globals

clflags.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "clflags.h"
#include "errhandler.h"

Include dependency graph for clflags.c:

Go to the source code of this file.

Functions

static void adjust_case_flags (void)
bool set_cl_flag (char *flag_name, bool from_src)
void show_all_cl_flag_settings (bool from_src)
void list_cl_flag_settings (void)
void list_cl_flag_names (void)
void cl_flags_help (void)
void save_cl_flags (void)
void reset_cl_flags (void)

Variables

bool ibm_locals = FALSE
bool ibm_locals_legacy_separator = TRUE
bool ibm_legacy_separator_message = TRUE
bool enable_abort_quote = TRUE
bool sun_style_abort_quote = TRUE
bool abort_quote_throw = TRUE
bool string_remark_escape = TRUE
bool hex_remark_escape = TRUE
bool c_style_string_escape = TRUE
bool always_headers = FALSE
bool always_external = FALSE
bool verbose_dup_warning = TRUE
bool obso_fcode_warning = TRUE
bool trace_conditionals = FALSE
bool big_end_pci_image_rev = FALSE
bool clflag_help = FALSE
bool force_tokens_case = FALSE
bool force_lower_case_tokens = FALSE
static bool upper_case_tokens = FALSE
static bool lower_case_tokens = FALSE
static bool was_upper_case_tk = FALSE
static bool was_lower_case_tk = FALSE
static bool cl_flag_change = FALSE
static const cl_flag_t cl_flags_list []
static const int number_of_cl_flags
static long int cl_flags_bit_map
static bool first_err_msg = TRUE


Function Documentation

static void adjust_case_flags void   )  [static]
 

Definition at line 318 of file clflags.c.

References force_lower_case_tokens, force_tokens_case, lower_case_tokens, upper_case_tokens, was_lower_case_tk, and was_upper_case_tk.

Referenced by set_cl_flag().

void cl_flags_help void   ) 
 

Definition at line 623 of file clflags.c.

References cl_flag_change, and number_of_cl_flags.

Referenced by get_args().

void list_cl_flag_names void   ) 
 

Definition at line 571 of file clflags.c.

References number_of_cl_flags.

Referenced by get_args().

void list_cl_flag_settings void   ) 
 

Definition at line 542 of file clflags.c.

References cl_flag_change, and show_all_cl_flag_settings().

Referenced by get_args().

Here is the call graph for this function:

void reset_cl_flags void   ) 
 

Definition at line 718 of file clflags.c.

References cl_flags_bit_map, cl_flag::flag_var, and number_of_cl_flags.

Referenced by main().

void save_cl_flags void   ) 
 

Definition at line 675 of file clflags.c.

References cl_flags_bit_map, and number_of_cl_flags.

Referenced by get_args().

bool set_cl_flag char *  flag_name,
bool  from_src
 

Definition at line 400 of file clflags.c.

References adjust_case_flags(), cl_flag_change, first_err_msg, cl_flag::flag_var, INFO, lower_case_tokens, number_of_cl_flags, TKERROR, tokenization_error(), upper_case_tokens, was_lower_case_tk, and was_upper_case_tk.

Referenced by get_args(), and handle_internal().

Here is the call graph for this function:

void show_all_cl_flag_settings bool  from_src  ) 
 

Definition at line 499 of file clflags.c.

References ERRMSG_DESTINATION, MESSAGE, number_of_cl_flags, and tokenization_error().

Referenced by handle_internal(), and list_cl_flag_settings().

Here is the call graph for this function:


Variable Documentation

bool abort_quote_throw = TRUE
 

Definition at line 97 of file clflags.c.

Referenced by abort_quote().

bool always_external = FALSE
 

Definition at line 102 of file clflags.c.

Referenced by set_hdr_flag().

bool always_headers = FALSE
 

Definition at line 101 of file clflags.c.

Referenced by set_hdr_flag().

bool big_end_pci_image_rev = FALSE
 

Definition at line 106 of file clflags.c.

Referenced by finish_pcihdr(), and handle_internal().

bool c_style_string_escape = TRUE
 

Definition at line 100 of file clflags.c.

Referenced by get_string().

bool cl_flag_change = FALSE [static]
 

Definition at line 142 of file clflags.c.

Referenced by cl_flags_help(), list_cl_flag_settings(), and set_cl_flag().

long int cl_flags_bit_map [static]
 

Definition at line 272 of file clflags.c.

Referenced by reset_cl_flags(), and save_cl_flags().

const cl_flag_t cl_flags_list[] [static]
 

Definition at line 144 of file clflags.c.

bool clflag_help = FALSE
 

Definition at line 109 of file clflags.c.

Referenced by get_args().

bool enable_abort_quote = TRUE
 

Definition at line 95 of file clflags.c.

Referenced by abort_quote().

bool first_err_msg = TRUE [static]
 

Definition at line 399 of file clflags.c.

Referenced by set_cl_flag().

bool force_lower_case_tokens = FALSE
 

Definition at line 120 of file clflags.c.

Referenced by adjust_case_flags(), and create_word().

bool force_tokens_case = FALSE
 

Definition at line 119 of file clflags.c.

Referenced by adjust_case_flags(), and create_word().

bool hex_remark_escape = TRUE
 

Definition at line 99 of file clflags.c.

Referenced by get_sequence().

bool ibm_legacy_separator_message = TRUE
 

Definition at line 94 of file clflags.c.

Referenced by locals_separator().

bool ibm_locals = FALSE
 

Definition at line 92 of file clflags.c.

Referenced by handle_internal(), lookup_word(), and skip_string().

bool ibm_locals_legacy_separator = TRUE
 

Definition at line 93 of file clflags.c.

Referenced by locals_separator().

bool lower_case_tokens = FALSE [static]
 

Definition at line 129 of file clflags.c.

Referenced by adjust_case_flags(), and set_cl_flag().

const int number_of_cl_flags [static]
 

Initial value:

         sizeof(cl_flags_list)/sizeof(cl_flag_t)

Definition at line 255 of file clflags.c.

Referenced by cl_flags_help(), list_cl_flag_names(), reset_cl_flags(), save_cl_flags(), set_cl_flag(), and show_all_cl_flag_settings().

bool obso_fcode_warning = TRUE
 

Definition at line 104 of file clflags.c.

Referenced by obsolete_warning().

bool string_remark_escape = TRUE
 

Definition at line 98 of file clflags.c.

Referenced by get_string().

bool sun_style_abort_quote = TRUE
 

Definition at line 96 of file clflags.c.

Referenced by abort_quote().

bool trace_conditionals = FALSE
 

Definition at line 105 of file clflags.c.

Referenced by conditionally_tokenize().

bool upper_case_tokens = FALSE [static]
 

Definition at line 128 of file clflags.c.

Referenced by adjust_case_flags(), and set_cl_flag().

bool verbose_dup_warning = TRUE
 

Definition at line 103 of file clflags.c.

Referenced by warn_if_duplicate().

bool was_lower_case_tk = FALSE [static]
 

Definition at line 131 of file clflags.c.

Referenced by adjust_case_flags(), and set_cl_flag().

bool was_upper_case_tk = FALSE [static]
 

Definition at line 130 of file clflags.c.

Referenced by adjust_case_flags(), and set_cl_flag().


Generated on Fri Aug 18 14:03:39 2006 for Toke1.0 by  doxygen 1.4.4