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

toke.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "types.h"
#include "toke.h"
#include "stream.h"
#include "stack.h"
#include "emit.h"
#include "vocabfuncts.h"
#include "scanner.h"
#include "errhandler.h"
#include "usersymbols.h"
#include "clflags.h"
#include "tracesyms.h"

Include dependency graph for toke.c:

Go to the source code of this file.

Defines

#define TOKE_VERSION   "1.0.0"
#define CORE_COPYR
#define IBM_COPYR   "(C) Copyright 2005 IBM Corporation. All Rights Reserved."

Functions

static void print_copyright (void)
static void usage (char *name)
static void get_args (int argc, char **argv)
int main (int argc, char **argv)

Variables

bool verbose = FALSE
bool noerrors = FALSE
bool fload_list = FALSE
bool dependency_list = FALSE
static char * outputname = NULL


Define Documentation

#define CORE_COPYR
 

Value:

"(C) Copyright 2001-2006 Stefan Reinauer.\n" \
                     "(C) Copyright 2006 coresystems GmbH <info@coresystems.de>"

Definition at line 58 of file toke.c.

Referenced by print_copyright().

#define IBM_COPYR   "(C) Copyright 2005 IBM Corporation. All Rights Reserved."
 

Definition at line 60 of file toke.c.

Referenced by print_copyright().

#define TOKE_VERSION   "1.0.0"
 

Definition at line 49 of file toke.c.

Referenced by print_copyright().


Function Documentation

static void get_args int  argc,
char **  argv
[static]
 

Definition at line 228 of file toke.c.

References add_to_include_list(), add_to_trace_list(), add_user_symbol(), cl_flags_help(), clflag_help, dependency_list, display_include_list(), fload_list, list_cl_flag_names(), list_cl_flag_settings(), list_user_symbols(), noerrors, outputname, save_cl_flags(), set_cl_flag(), usage(), and verbose.

Referenced by main().

Here is the call graph for this function:

int main int  argc,
char **  argv
 

Definition at line 374 of file toke.c.

References close_output(), close_stream(), exit_scanner(), finish_headers(), get_args(), init_dictionary(), init_error_handler(), init_output(), init_scan_state(), init_scanner(), init_stack(), init_stream(), outputname, print_copyright(), reset_cl_flags(), reset_vocabs(), and tokenize().

Here is the call graph for this function:

static void print_copyright void   )  [static]
 

Definition at line 100 of file toke.c.

References CORE_COPYR, IBM_COPYR, and TOKE_VERSION.

Referenced by main().

static void usage char *  name  )  [static]
 

Definition at line 121 of file toke.c.

Referenced by get_args().


Variable Documentation

bool dependency_list = FALSE
 

Definition at line 80 of file toke.c.

Referenced by get_args(), and init_output().

bool fload_list = FALSE
 

Definition at line 79 of file toke.c.

Referenced by get_args(), and init_output().

bool noerrors = FALSE
 

Definition at line 78 of file toke.c.

Referenced by emit_fc_offset(), emit_fcodehdr(), emit_pcihdr(), error_summary(), finish_or_new_device(), get_args(), handle_internal(), matchup_control_structure(), matchup_two_control_structures(), resolve_forward(), and string_err_check().

char* outputname = NULL [static]
 

Definition at line 93 of file toke.c.

Referenced by get_args(), and main().

bool verbose = FALSE
 

Definition at line 77 of file toke.c.

Referenced by c_string_escape(), expansion_error(), finish_fcodehdr(), get_args(), get_string(), init_error_handler(), list_fcode_ranges(), and trace_creation().


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