yyast/main.c File Reference

#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


Define Documentation

#define _GNU_SOURCE

Definition at line 25 of file main.c.


Function Documentation

int ya_main ( int  argc,
char *  argv[],
char *  extension 
)

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  ) 

Definition at line 40 of file main.c.

Referenced by ya_parse_options().

int yyparse (  ) 

Referenced by ya_main().


Variable Documentation

char* ya_input_filename = NULL

Definition at line 38 of file main.c.

Referenced by ya_main(), and ya_parse_options().

char* ya_output_filename = NULL

Definition at line 37 of file main.c.

Referenced by ya_main(), and ya_parse_options().

FILE* yyin

Referenced by ya_main().


Generated for yyast-1.0.1 by doxygen 1.5.6