aoc.cpp File Reference

#include <map>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <vector>
#include "ao-lexer.h"
#include "ao-grammar.h"
#include "ao-syntax.h"
#include "sao-printer.h"
Include dependency graph for aoc.cpp:

Functions

void aoset_in (FILE *i)
int aoparse ()
void dopascal (int argc, char *argv[])
void cpp (int argc, char *argv[])
int main (int argc, char *argv[])

Variables

outputbuf object
outputbuf object2
outputbuf meta
outputbuf msgs
outputbuf msgs1
outputbuf globhead
outputbuf useslist
outputbuf impl
map< string, string > field2init
char * current_ao
bool pascal = false

Function Documentation

int aoparse (  ) 

Referenced by cpp(), and dopascal().

void aoset_in ( FILE *  in_str  ) 

Set the input stream. This does not discard the current input buffer.

Parameters:
in_str A readable stream.
See also:
ao_switch_to_buffer

References aoin.

Referenced by cpp(), and dopascal().

void cpp ( int  argc,
char *  argv[] 
)
void dopascal ( int  argc,
char *  argv[] 
)
int main ( int  argc,
char *  argv[] 
)

Variable Documentation

char* current_ao

Referenced by yyparse().

map<string,string> field2init

Referenced by cpp(), dopascal(), and yyparse().

Referenced by cpp(), dopascal(), and yyparse().

bool pascal = false

Referenced by cpp(), dopascal(), and yyparse().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2