Commit 5fb5dbd3 authored by auraes's avatar auraes 💬
Browse files

Simplification de la gestion de l'objet dé à jouer

parent 58102aad
......@@ -121,14 +121,7 @@ System_file;
r = 2;
switch (w) { !y en
'se', 's^':
switch (w1) {
'le': w = "-le à se";
'la': w = "-la à se";
'les': w = "-les à se";
'l^': w = "-l' à se";
default: w = "se"; r = 1;
}
'se', 's^': w = "se"; r = 1;
'l^': w = "-l'"; r = 1;
'le':
switch (w1) {
......@@ -208,14 +201,7 @@ System_file;
r = 2;
switch (w) { !y en
'se', 's^':
switch (w1) {
'le': w = "-le a se";
'la': w = "-la a se";
'les': w = "-les a se";
'l^': w = "-l' a se";
default: w = "se"; r = 1;
}
'se', 's^': w = "se"; r = 1;
'l^': w = "-l'"; r = 1;
'le':
switch (w1) {
......
......@@ -104,19 +104,15 @@ System_file;
#IfDef DE_A_JOUER;
'de':
r = PosMot(i) + 1;
if (i == n) {
if (i == n)
parse-->(i*2-1) = 'dj';
!buffer->r = 'j';
}
else {
w1 = DicMot(i+1);
if (w1 && (w1->#dict_par1) & 8) {
w2 = DicMot(i+1);
if (w2 && (w2->#dict_par1) & 8)
parse-->(i*2-1) = 'dj';
!buffer->r = 'j';
}
}
#EndIf;
}
}
if (n == 1) return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment