#include <stdlib.h>
#include <stdio.h>
#include <getopt.h>
#include <yyast/main.h>
#include <yyast/utils.h>
#include <yyast/node.h>
#include <yyast/count.h>
Go to the source code of this file.
Defines | |
| #define | _GNU_SOURCE |
Functions | |
| int | yyparse () |
| void | ya_usage (int exit_code) |
| void | ya_parse_options (int argc, char *argv[], char *extension) |
| int | ya_main (int argc, char *argv[], char *extension) |
Variables | |
| FILE * | yyin |
| char * | ya_output_filename = NULL |
| char * | ya_input_filename = NULL |
| int ya_main | ( | int | argc, | |
| char * | argv[], | |||
| char * | extension | |||
| ) |
Definition at line 105 of file main.c.
References ya_input_filename, ya_node_save(), ya_output_filename, ya_parse_options(), ya_reposition(), ya_start, yyin, and yyparse().
| void ya_parse_options | ( | int | argc, | |
| char * | argv[], | |||
| char * | extension | |||
| ) |
Definition at line 54 of file main.c.
References ya_input_filename, ya_new_extension(), ya_output_filename, and ya_usage().
Referenced by ya_main().
| void ya_usage | ( | int | exit_code | ) |
| int yyparse | ( | ) |
Referenced by ya_main().
| char* ya_input_filename = NULL |
| char* ya_output_filename = NULL |
1.5.6