summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <>2001-04-17 04:05:52 +0000
committerPixel <>2001-04-17 04:05:52 +0000
commit5aed7634c8993e3366817c4b20fca1aa18eacf21 (patch)
treecfb6c00a13b8f213255ea231a3d814f61ab2964b /include
parent55f981c9fca048fba18d0538be4ed5dc1cc3fe11 (diff)
Indentation plus faible
Diffstat (limited to 'include')
-rw-r--r--include/alu.h2
-rw-r--r--include/hash.h8
-rw-r--r--include/meta.h50
-rw-r--r--include/parser.h24
4 files changed, 42 insertions, 42 deletions
diff --git a/include/alu.h b/include/alu.h
index 89328e7..128d9d4 100644
--- a/include/alu.h
+++ b/include/alu.h
@@ -3,7 +3,7 @@
#include "types.h"
typedef struct couple {
- Uint32 deb, fin;
+ Uint32 deb, fin;
} couple;
Uint32 AdditionNonSigne(Uint32 a, Uint32 b);
diff --git a/include/hash.h b/include/hash.h
index a7948a1..2cc759c 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -10,13 +10,13 @@ typedef int _TypeVariable;
#endif
typedef struct {
- char *NomVar;
- _TypeVariable Variable;
+ char *NomVar;
+ _TypeVariable Variable;
} _Element;
typedef struct _LstChn {
- _Element Elem;
- struct _LstChn *Suivant;
+ _Element Elem;
+ struct _LstChn *Suivant;
} *_ListeChaine;
typedef _ListeChaine *_TableauVariable;
diff --git a/include/meta.h b/include/meta.h
index 1056246..2f3f748 100644
--- a/include/meta.h
+++ b/include/meta.h
@@ -6,43 +6,43 @@
#define MAXM 64
typedef struct phon_t {
- char *p1;
- char *p2;
- struct phon_t *next;
+ char *p1;
+ char *p2;
+ struct phon_t *next;
} phon_t;
typedef struct field_t {
- char *name;
- char **names;
- int *sizes, nbr;
- struct field_t *next;
+ char *name;
+ char **names;
+ int *sizes, nbr;
+ struct field_t *next;
} field_t;
typedef struct metaexpr_t {
- char *name;
- int type;
- char *string;
- /* left = right = NULL => feuille
- left = NULL => opérateur unaire
- sinon => opérateur binaire
- */
- struct metaexpr_t *left, *right;
+ char *name;
+ int type;
+ char *string;
+ /* left = right = NULL => feuille
+ left = NULL => opérateur unaire
+ sinon => opérateur binaire
+ */
+ struct metaexpr_t *left, *right;
} metaexpr_t;
typedef struct pattern_t {
- char *name;
- metaexpr_t **expr;
- int nbr;
- struct pattern_t *next;
+ char *name;
+ metaexpr_t **expr;
+ int nbr;
+ struct pattern_t *next;
} pattern_t;
typedef struct instruct_t {
- char **names;
- char **strings;
- char **implicits;
- char **istrings;
- int *etypes, *itypes, *ivalues, nbexplicit, nbimplicit;
- struct instruct_t *next;
+ char **names;
+ char **strings;
+ char **implicits;
+ char **istrings;
+ int *etypes, *itypes, *ivalues, nbexplicit, nbimplicit;
+ struct instruct_t *next;
} instruct_t;
extern phon_t *phons;
diff --git a/include/parser.h b/include/parser.h
index b38e047..2772f1d 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -5,18 +5,18 @@
#define PILECALL_MAX 50
enum {
- OP_NEST,
- OP_PLUS,
- OP_MOINS,
- OP_PLUS_UNARY,
- OP_MOINS_UNARY,
- OP_DIV,
- OP_MUL,
- OP_MOD,
- OP_LPAREN,
- OP_FUNC_CALL,
- OP_DECAL,
- OP_DIRECT
+ OP_NEST,
+ OP_PLUS,
+ OP_MOINS,
+ OP_PLUS_UNARY,
+ OP_MOINS_UNARY,
+ OP_DIV,
+ OP_MUL,
+ OP_MOD,
+ OP_LPAREN,
+ OP_FUNC_CALL,
+ OP_DECAL,
+ OP_DIRECT
};
void parse_line(char *);