summaryrefslogtreecommitdiffstats
path: root/tp2-files/Calculatrice.jj
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2017-01-24 20:43:08 +0100
committerDavid A. Madore <david+git@madore.org>2017-01-24 20:43:08 +0100
commit1ade48303ab56ae846cb1dd56201b513fb35ce3f (patch)
treef7061a447d8edae532458c03a1b91c618572415a /tp2-files/Calculatrice.jj
parentc1cb53ae11a9cc5fe42c8271a3a2fe806877dc0c (diff)
downloadinf105-1ade48303ab56ae846cb1dd56201b513fb35ce3f.tar.gz
inf105-1ade48303ab56ae846cb1dd56201b513fb35ce3f.tar.bz2
inf105-1ade48303ab56ae846cb1dd56201b513fb35ce3f.zip
Un-French-ify another identifier.
Diffstat (limited to 'tp2-files/Calculatrice.jj')
-rw-r--r--tp2-files/Calculatrice.jj6
1 files changed, 3 insertions, 3 deletions
diff --git a/tp2-files/Calculatrice.jj b/tp2-files/Calculatrice.jj
index 965aeb3..377cac2 100644
--- a/tp2-files/Calculatrice.jj
+++ b/tp2-files/Calculatrice.jj
@@ -8,7 +8,7 @@ public class Calculatrice
public static void main(String args[]) throws ParseException
{
Calculatrice parser = new Calculatrice(System.in);
- parser.boucle();
+ parser.mainloop();
}
}
PARSER_END(Calculatrice)
@@ -25,9 +25,9 @@ TOKEN:
}
// Boucle principale: lire des expressions sur une ligne jusqu'à fin de fichier
-// boucle → (expression <EOL>)* <EOF>
+// mainloop → (expression <EOL>)* <EOF>
// (<EOL> est défini ci-dessus, <EOF> est reconnu automatiquement)
-void boucle():
+void mainloop():
{ double a; }
{
(