#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[]) |
static int eq | ( | char * | s1, | |
char * | s2 | |||
) | [static] |
static void print_arglist | ( | void | ) | [static] |
static void check_lim | ( | int | i, | |
int | argc | |||
) | [static] |
static FILE* get_output | ( | symbol * | b | ) | [static] |
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.