00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef __LEXICAL_H
00036 #define __LEXICAL_H
00037
00038 #define MAXIDENTS 200
00039
00040 #include <femIdentifier.hpp>
00041
00042 namespace fem
00043 {
00044
00045 typedef struct
00046 {
00047 int bdy, build, onbdy, solv, fct, si, eq, param,t,fem, syst, complexe, precise, graphics;
00048 } drapeaux;
00049
00050 typedef struct programme
00051 {
00052 char *thestring, *curchar;
00053 Symbol sym;
00054 int numligne;
00055 struct programme *pere;
00056 } programme;
00057
00058 extern int numligne;
00059 extern char *thestring, *curchar;
00060 extern drapeaux flag;
00061 extern Symbol cursym;
00062 extern float curcst;
00063 extern ident *curident;
00064 extern char curchaine[100];
00065 extern int numidents;
00066 extern ident idents[MAXIDENTS];
00067 extern programme *curprog;
00068
00069 long wherearewe();
00070 void initlex(const char *);
00071 void nextsym(void);
00072 void closelex();
00073 }
00074 #endif