Add test analyseur avec des erreurs & remove err messages

This commit is contained in:
2016-01-23 08:20:33 +01:00
parent c78dbd204a
commit dd3f9c30eb
2 changed files with 6 additions and 2 deletions

View File

@@ -139,7 +139,6 @@ int yylex(void)
if(i > 99) { if(i > 99) {
erreur("Nom variable > 99 characters");
return -1; return -1;
} }
@@ -174,7 +173,6 @@ int yylex(void)
delireCar(); delireCar();
if(i > 99) { if(i > 99) {
erreur("Nom fonction > 99 characters");
return -1; return -1;
} }

6
test/affect-long.l Normal file
View File

@@ -0,0 +1,6 @@
entier $a;
mainmainmainmainmainma()
{
$a = 124zzz;
ecrire($a);
}