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
c_alike.h File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <string>
#include "c_alike.tab.cpp.h"

Go to the source code of this file.

Macros

#define YYERROR_VERBOSE
 
#define q(x)   ("\""+x+"\"")
 
#define YYDEBUG   0
 
#define YYSTYPE   string
 
#define YY_SKIP_YYWRAP
 

Functions

std::string parseCalike (char const *filename)
 
int yyerror (char *)
 
int yyparse ()
 
int yywrap ()
 
int yylex ()
 

Variables

bool have_yy_error
 
std::string module_string
 
int yylineno
 
char * yytext
 
FILE * yyin
 
YYSTYPE yylval
 

Macro Definition Documentation

#define YY_SKIP_YYWRAP

Definition at line 61 of file c_alike.h.

#define YYDEBUG   0

Definition at line 58 of file c_alike.h.

#define YYERROR_VERBOSE

Definition at line 46 of file c_alike.h.

#define YYSTYPE   string

Definition at line 60 of file c_alike.h.

Function Documentation

std::string parseCalike ( char const *  filename)

Definition at line 5 of file c_alike.tab.cpp.

Referenced by easyDomFactory< configNode >::LoadCalike().

6 {
7  return "";
8 }
int yyerror ( char *  )

Definition at line 11 of file c_alike.tab.cpp.

References yylineno.

11  {
12  printf("(yy)error: line %d text --\n",yylineno+1);
13 
14  return 1;
15 }
int yylex ( )

Definition at line 22 of file c_alike.tab.cpp.

22  {
23  return 1;
24 }
int yyparse ( )

Referenced by main().

int yywrap ( )

Definition at line 17 of file c_alike.tab.cpp.

17  {
18  return 1;
19 }

Variable Documentation

bool have_yy_error

Definition at line 4 of file c_alike.tab.cpp.

std::string module_string

Referenced by main().

FILE* yyin

Referenced by main().

int yylineno

Definition at line 10 of file c_alike.tab.cpp.

Referenced by yyerror().

YYSTYPE yylval
char* yytext