Logo
~Apps~
~Projects~
~Contact~

a.h

Go to the documentation of this file.
00001 #define YYPARSE_PARAM parser
00002 #define YYLEX_PARAM parser
00003 
00004 //#define DEBUG
00005 //#define DEBUGEXPR
00006 #define DEBUGDATA
00007 //#define DEBUGMEM
00008 
00009 #define YYDEBUG         1
00010 #define YYERROR_VERBOSE
00011 
00012 
00013 
00014 void yyerror(void *,char *);
00015 int yylex(void *,void *);
00016 int yyparse(void *);
00017 
00018 
00019 typedef struct linestruct
00020 {
00021         struct linestruct *next;
00022         int line;
00023         char *the_str;
00024 } LINE;
00025 
00026 typedef struct variablestruct
00027 {
00028         struct variablestruct *next;
00029         char name[40];
00030         int ivalue;
00031         double value;
00032         double fnvalue;
00033         char svalue[1024];
00034 } VARIABLE;
00035 
00036 typedef struct varliststruct
00037 {
00038         VARIABLE *var[99];
00039         int qty;
00040 } VARLIST;
00041 
00042 typedef struct
00043 {
00044         double values[99];
00045         int qty;
00046 } EXPRLIST;
00047 
00048 typedef struct
00049 {
00050         long values[99];
00051         int qty;
00052 } INTLIST;
00053 
00054 typedef struct forloopstruct
00055 {
00056         struct forloopstruct *next;
00057         LINE *ln;
00058         VARIABLE *var;
00059         double tolimit;
00060         double step;
00061         LINE *reline;
00062 } NEXT;
00063 
00064 typedef struct substruct
00065 {
00066         struct substruct *next;
00067         LINE *returnline;
00068 } SUB;
00069 
00070 typedef struct openstruct
00071 {
00072         struct openstruct *next;
00073         char name[40];
00074         FILE *fil;
00075         struct stat file_stat;
00076         int option_s;
00077         int option_d;
00078         int option_l;
00079         int option_r;
00080 } OPEN;
00081 
00082 typedef struct datastruct
00083 {
00084         struct datastruct *next;
00085         int line;
00086         char *data;
00087 } DATA;
00088 
00089 typedef struct funcstruct
00090 {
00091         struct funcstruct *next;
00092         char name[40];
00093         VARIABLE *placeholder;
00094         LINE *fnline;
00095 } FUNC;
00096 
Page, code, and content Copyright (C) 2005 by Anders Hedström
Generated on Mon Aug 29 20:21:47 2005 for C++ Sockets by  doxygen 1.4.4