From 403c6a951e890d3e1914779ee35576859a38d33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gassmann?= Date: Fri, 11 Jun 2021 11:17:45 +0200 Subject: [+] implemented the 'shell' UI, [~] Small corrections had to be made in the parser --- calculator-java/src/main/java/ch/bfh/CalculatorLexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calculator-java/src/main/java/ch/bfh/CalculatorLexer.java') diff --git a/calculator-java/src/main/java/ch/bfh/CalculatorLexer.java b/calculator-java/src/main/java/ch/bfh/CalculatorLexer.java index ba10944..48d009e 100644 --- a/calculator-java/src/main/java/ch/bfh/CalculatorLexer.java +++ b/calculator-java/src/main/java/ch/bfh/CalculatorLexer.java @@ -82,7 +82,7 @@ public class CalculatorLexer { } else if (Character.isLetter(src.charAt(idx))) { - tok.value = 0; + tok.value = 0; tok.type = Token.ID; tok.str = identifier(); if (tok.str.compareTo("let")==0) tok.type = Token.LET; -- cgit v1.2.3