Ajout analyse sémantique :
- Verif declaration var & tab - Verif appel var
This commit is contained in:
@@ -1,35 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include "affiche_arbre_abstrait.h"
|
||||
#include "syntabs.h"
|
||||
#include "util.h"
|
||||
|
||||
void affiche_n_prog(n_prog *n);
|
||||
void affiche_l_instr(n_l_instr *n);
|
||||
void affiche_instr(n_instr *n);
|
||||
void affiche_instr_si(n_instr *n);
|
||||
void affiche_instr_tantque(n_instr *n);
|
||||
void affiche_instr_faire(n_instr *n); /* MODIFIE POUR EVAL */
|
||||
void affiche_instr_pour(n_instr *n); /* MODIFIE POUR EVAL */
|
||||
void affiche_instr_affect(n_instr *n);
|
||||
void affiche_instr_appel(n_instr *n);
|
||||
void affiche_instr_retour(n_instr *n);
|
||||
void affiche_instr_ecrire(n_instr *n);
|
||||
void affiche_l_exp(n_l_exp *n);
|
||||
void affiche_exp(n_exp *n);
|
||||
void affiche_varExp(n_exp *n);
|
||||
void affiche_opExp(n_exp *n);
|
||||
void affiche_intExp(n_exp *n);
|
||||
void affiche_lireExp(n_exp *n);
|
||||
void affiche_appelExp(n_exp *n);
|
||||
void affiche_l_dec(n_l_dec *n);
|
||||
void affiche_dec(n_dec *n);
|
||||
void affiche_foncDec(n_dec *n);
|
||||
void affiche_varDec(n_dec *n);
|
||||
void affiche_tabDec(n_dec *n);
|
||||
void affiche_var(n_var *n);
|
||||
void affiche_var_simple(n_var *n);
|
||||
void affiche_var_indicee(n_var *n);
|
||||
void affiche_appel(n_appel *n);
|
||||
|
||||
int trace_abs = 1;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user