ARPDAS_QNX6 1.0
Defines | Functions | Variables
compiler.h File Reference
#include <stdio.h>
#include "ll_of_str.h"
Include dependency graph for compiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OPT_COMPILER_INIT   "qkwvo:"
#define CO_IGN_WARN   1
#define CO_KEEP_OUTPUT   2
#define CO_CUSTOM   4

Functions

int compile_error (int level, const char *format,...)
FILE * open_output_file (char *name)
FILE * open_input_file (char *name)
void compile_init_options (int argc, char **argv, char *extension)
int yywrap (void)
int yylex (void)
int yyparse (void)

Variables

FILE * ofile
FILE * yyin
char * input_filename
char * output_filename
int input_linenumber
int error_level
char * opt_string
ll_of_str input_files
short compile_options
int yydebug

Define Documentation

#define CO_CUSTOM   4

Definition at line 38 of file compiler.h.

#define CO_IGN_WARN   1

Definition at line 36 of file compiler.h.

Referenced by compile_error(), and compile_init_options().

#define CO_KEEP_OUTPUT   2

Definition at line 37 of file compiler.h.

Referenced by compile_exit(), and compile_init_options().

#define OPT_COMPILER_INIT   "qkwvo:"

Definition at line 29 of file compiler.h.


Function Documentation

int compile_error ( int  level,
const char *  format,
  ... 
)

Definition at line 91 of file compiler.c.

References CO_IGN_WARN, compile_options, error_level, input_filename, input_linenumber, and nl_verror().

Referenced by compile_init_options(), and yywrap().

Here is the call graph for this function:

Here is the caller graph for this function:

void compile_init_options ( int  argc,
char **  argv,
char *  extension 
)
FILE* open_input_file ( char *  name)

Definition at line 9 of file opnifile.c.

Referenced by yywrap().

Here is the caller graph for this function:

FILE* open_output_file ( char *  name)

Definition at line 73 of file compiler.c.

References nl_error.

Referenced by compile_init_options().

Here is the caller graph for this function:

int yylex ( void  )

Referenced by read_a_cmd(), and read_a_tcmd().

Here is the caller graph for this function:

int yyparse ( void  )
int yywrap ( void  )

Definition at line 109 of file compiler.c.

References compile_error(), input_filename, input_linenumber, llos_deq(), open_input_file(), and yyin.

Referenced by compile_init_options().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 42 of file compiler.c.

Referenced by compile_error(), compile_exit(), and compile_init_options().

Definition at line 46 of file compiler.c.

Referenced by compile_error(), and compile_exit().

Definition at line 43 of file compiler.c.

Referenced by compile_error(), compile_init_options(), and yywrap().

Definition at line 47 of file compiler.c.

Definition at line 45 of file compiler.c.

Referenced by compile_error(), and yywrap().

FILE* ofile

Definition at line 40 of file compiler.c.

Referenced by compile_exit(), and compile_init_options().

char* opt_string

Definition at line 44 of file compiler.c.

Referenced by compile_exit(), and compile_init_options().

int yydebug
FILE * yyin

Definition at line 4 of file yyin.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines