summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2017-01-24 15:14:39 +0100
committerDavid A. Madore <david+git@madore.org>2017-01-24 15:14:39 +0100
commit228342757a709fddffc3c08209b7376680e1b2ba (patch)
tree1dc06767d087644b62ec90e187098cf8fd647930
parentbcc113e0355f17834cbc3e14d6ae9781347fa8e1 (diff)
downloadinf105-228342757a709fddffc3c08209b7376680e1b2ba.tar.gz
inf105-228342757a709fddffc3c08209b7376680e1b2ba.tar.bz2
inf105-228342757a709fddffc3c08209b7376680e1b2ba.zip
Fix excessive search-and-replace.
-rw-r--r--tp2-files/Calculatrice-final.jj6
1 files changed, 3 insertions, 3 deletions
diff --git a/tp2-files/Calculatrice-final.jj b/tp2-files/Calculatrice-final.jj
index a7ea9f0..889659c 100644
--- a/tp2-files/Calculatrice-final.jj
+++ b/tp2-files/Calculatrice-final.jj
@@ -48,7 +48,7 @@ double expression():
)* { return a; }
}
-// Term d'une somme ou différence
+// Terme d'une somme ou différence
// term → factor ( "*" factor | "/" factor )*
double term():
{ double a,b; }
@@ -60,7 +60,7 @@ double term():
)* { return a; }
}
-// Gestion du "+" et "−" factors
+// Gestion du "+" et "−" unaires
// factor → power | "+" power | "-" power
double factor():
{ double a; }
@@ -70,7 +70,7 @@ double factor():
| "-" a=power() { return -a; }
}
-// Opération power (associative à droite)
+// Opération puissance (associative à droite)
// power → element ( "^" factor )?
double power():
{ double a,b; }