FreeFem 3.5.x
femLexical.hpp
1// Emacs will be in -*- Mode: c++ -*-
2//
3// ********** DO NOT REMOVE THIS BANNER **********
4//
5// SUMMARY: Language for a Finite Element Method
6//
7//
8// AUTHORS: C. Prud'homme
9// ORG :
10// E-MAIL : prudhomm@users.sourceforge.net
11//
12// ORIG-DATE: June-94
13// LAST-MOD: 13-Aug-00 at 22:42:38 by Christophe Prud'homme
14//
15// DESCRIPTION:
16/*
17 This program is free software; you can redistribute it and/or modify
18 it under the terms of the GNU General Public License as published by
19 the Free Software Foundation; either version 2 of the License, or
20 (at your option) any later version.
21
22 This program is distributed in the hope that it will be useful,
23 but WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 GNU General Public License for more details.
26
27 You should have received a copy of the GNU General Public License
28 along with this program; if not, write to the Free Software
29 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30
31*/
32// DESCRIP-END.
33//
34
35#ifndef __LEXICAL_H
36#define __LEXICAL_H
37
38#define MAXIDENTS 200
39
40#include <femIdentifier.hpp>
41
42namespace fem
43{
44
45typedef struct
46{
47 int bdy, build, onbdy, solv, fct, si, eq, param,t,fem, syst, complexe, precise, graphics;
48} drapeaux;
49
50typedef struct programme
51{
52 char *thestring, *curchar;
53 Symbol sym;
54 int numligne;
55 struct programme *pere;
56} programme;
57
58extern int numligne;
59extern char *thestring, *curchar;
60extern drapeaux flag;
61extern Symbol cursym;
62extern float curcst;
63extern ident *curident;
64extern char curchaine[100];
65extern int numidents;
66extern ident idents[MAXIDENTS];
67extern programme *curprog;
68
69long wherearewe();
70void initlex(const char *);
71void nextsym(void);
72void closelex();
73}
74#endif /* __LEXICAL_H */
Definition: femIdentifier.hpp:72
Definition: femLexical.hpp:46
Definition: femLexical.hpp:51

This is the FreeFEM reference manual
Provided by The KFEM project