Add test analyseur avec des erreurs & remove err messages
This commit is contained in:
@@ -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
6
test/affect-long.l
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
entier $a;
|
||||||
|
mainmainmainmainmainma()
|
||||||
|
{
|
||||||
|
$a = 124zzz;
|
||||||
|
ecrire($a);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user