Files
compilateur-l/eval-partiel/analyseur_xml.h
2016-02-23 18:02:37 +01:00

26 lines
434 B
C

#ifndef __ANALYSEUR_XML__
#define __ANALYSEUR_XML__
/* structures de donnees et fonctions pour arbre abstrait */
typedef struct n noeud;
struct n{
char *nom;
struct n *premier_fils;
struct n *dernier_fils;
struct n *suiv;
};
FILE *yyin;
void affiche_arbre(noeud *racine);
int compare_arbres(noeud *racine1, noeud *racine2, int verbose);
void libere_arbre(noeud *r);
/* analyseur */
noeud *analyseur_xml(void);
#endif