Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
convert_calike2xml.cpp File Reference
#include <stdio.h>
#include <string>
#include <iostream>

Go to the source code of this file.

Functions

void yyparse ()
 
void main (int argc, char **argv)
 

Variables

std::string module_string
 

Function Documentation

void main ( int  argc,
char **  argv 
)

Definition at line 35 of file convert_calike2xml.cpp.

References fopen, module_string, yyin, and yyparse().

36 {
37  extern FILE *yyin;
38  if(argc<=1){
39  yyin=fopen("test.c","r");
40  }
41  else{
42  // yyin=fopen(argv[1],"r");
43  yyin=stdin;
44  }
45 
46  yyparse();
47 
48  std::cout << module_string;
49 }
void yyparse ( )

Variable Documentation

std::string module_string