diff options
Diffstat (limited to 'include/meta.h')
-rw-r--r-- | include/meta.h | 50 |
1 files changed, 25 insertions, 25 deletions
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; |