22 lines
No EOL
341 B
C
22 lines
No EOL
341 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include "pile.h"
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
/*struct Pile P;
|
|
Init_Pile(&P);
|
|
Empiler(&P, 4);
|
|
Empiler(&P, 5);
|
|
Affichage(P.Pil);*/
|
|
|
|
Programme * P;
|
|
P = lexer(argv[1]);
|
|
|
|
for(int i=0; i<P->taille; i++)
|
|
{
|
|
printf("TOKEN : %s \n", P->tokens[i]);
|
|
}
|
|
} |