summaryrefslogtreecommitdiffstats
path: root/tp2-files/Calculatrice-final.jj
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2017-01-24 19:43:08 (GMT)
committerDavid A. Madore <david+git@madore.org>2017-01-24 19:43:08 (GMT)
commit1ade48303ab56ae846cb1dd56201b513fb35ce3f (patch)
treef7061a447d8edae532458c03a1b91c618572415a /tp2-files/Calculatrice-final.jj
parentc1cb53ae11a9cc5fe42c8271a3a2fe806877dc0c (diff)
downloadinf105-1ade48303ab56ae846cb1dd56201b513fb35ce3f.zip
inf105-1ade48303ab56ae846cb1dd56201b513fb35ce3f.tar.gz
inf105-1ade48303ab56ae846cb1dd56201b513fb35ce3f.tar.bz2
Un-French-ify another identifier.
Diffstat (limited to 'tp2-files/Calculatrice-final.jj')
-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 889659c..02239a6 100644
--- a/tp2-files/Calculatrice-final.jj
+++ b/tp2-files/Calculatrice-final.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; }
{
(