Files
compilateur-l/test/analyseur_xml.h
Xawirses 755d2b6140 Préparation pour test intermediaire
- Analyseur lexical OK
- Analyseur syntaxyque OK
2016-02-09 15:45:20 +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