languages/compiler/driver.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "header.h"

Include dependency graph for driver.c:

Go to the source code of this file.

Functions

static int eq (char *s1, char *s2)
static void print_arglist (void)
static void check_lim (int i, int argc)
static FILE * get_output (symbol *b)
static void read_options (struct options *o, int argc, char *argv[])
int main (int argc, char *argv[])


Function Documentation

static int eq ( char *  s1,
char *  s2 
) [static]

Definition at line 7 of file driver.c.

Referenced by read_options().

static void print_arglist ( void   )  [static]

Definition at line 13 of file driver.c.

Referenced by check_lim(), main(), and read_options().

static void check_lim ( int  i,
int  argc 
) [static]

Definition at line 33 of file driver.c.

References print_arglist().

Referenced by read_options().

static FILE* get_output ( symbol b  )  [static]

Definition at line 40 of file driver.c.

References grouping::b, and b_to_s().

Referenced by main().

static void read_options ( struct options o,
int  argc,
char *  argv[] 
) [static]

Definition at line 51 of file driver.c.

References add_s_to_b(), grouping::b, check_lim(), eq(), options::externals_prefix, options::includes, options::includes_end, options::make_lang, options::name, NEW, include::next, options::output_file, options::parent_class_name, print_arglist(), repeat, options::runtime_path, options::syntax_tree, options::utf8, options::variables_prefix, and options::widechars.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Definition at line 151 of file driver.c.

References add_s_to_b(), include::b, close_analyser(), close_generator_c(), close_generator_java(), close_tokeniser(), create_analyser(), create_generator_c(), create_generator_java(), create_tokeniser(), tokeniser::error_count, FREE, generate_program_c(), generate_program_java(), get_input(), get_output(), tokeniser::includes, lose_b(), NEW, include::next, print_arglist(), print_program(), read_options(), read_program(), SIZE, space_count, unless, until, tokeniser::utf8, analyser::utf8, and tokeniser::widechars.


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.