Add matrice Premiers & Suivants
This commit is contained in:
11
header/premiers.h
Normal file
11
header/premiers.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef __PREMIERS__
|
||||
#define __PREMIERS__
|
||||
|
||||
#include"symboles.h"
|
||||
|
||||
int premiers[NB_NON_TERMINAUX+1][NB_TERMINAUX+1];
|
||||
|
||||
void initialise_premiers(void);
|
||||
int est_premier(int non_terminal, int terminal);
|
||||
|
||||
#endif
|
||||
11
header/suivants.h
Normal file
11
header/suivants.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef __SUIVANTS__
|
||||
#define __SUIVANTS__
|
||||
|
||||
#include"symboles.h"
|
||||
|
||||
int suivants[NB_NON_TERMINAUX+1][NB_TERMINAUX+1];
|
||||
|
||||
void initialise_suivants(void);
|
||||
int est_suivant(int non_terminal, int terminal);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user