summaryrefslogtreecommitdiffstats log msg author committer range
diff options
 context: 12345678910152025303540 space: includeignore mode: unifiedssdiffstat only
author committer David A. Madore 2017-01-24 15:14:39 +0100 David A. Madore 2017-01-24 15:14:39 +0100 228342757a709fddffc3c08209b7376680e1b2ba (patch) 1dc06767d087644b62ec90e187098cf8fd647930 bcc113e0355f17834cbc3e14d6ae9781347fa8e1 (diff) inf105-228342757a709fddffc3c08209b7376680e1b2ba.tar.gzinf105-228342757a709fddffc3c08209b7376680e1b2ba.tar.bz2inf105-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.jjindex 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; }