From d2ab3adb27a3b3f6df19b0b18dce3a749543c1e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gassmann?= Date: Sat, 12 Jun 2021 18:53:12 +0200 Subject: [~] Added comments --- calculator-javacc/Calculator.jj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calculator-javacc') diff --git a/calculator-javacc/Calculator.jj b/calculator-javacc/Calculator.jj index b88937d..3dbf1b8 100644 --- a/calculator-javacc/Calculator.jj +++ b/calculator-javacc/Calculator.jj @@ -73,7 +73,7 @@ TOKEN : { | | | - + // Defined so that I can 'wipe' the half parsed line in case of malformations } double statement() : @@ -182,7 +182,7 @@ void passStatement() : { } { - (||||||
|||||)* | //Skip any token until the next EOL + (||||||
|||||)* | //Skip *anything* until the next EOL {System.out.println("\nBuffer was closed. Exiting."); System.exit(0);}| {} } \ No newline at end of file -- cgit v1.2.3