diff options
author | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2021-06-11 11:17:45 +0200 |
---|---|---|
committer | Maël Gassmann <mael.gassmann@students.bfh.ch> | 2021-06-11 11:17:45 +0200 |
commit | 403c6a951e890d3e1914779ee35576859a38d33e (patch) | |
tree | ff2d5182ad4e72b335624c61a7d48364de61807c /calculator-java/src/main/java/ch/bfh/CalculatorLexer.java | |
parent | 126a6c85b60ad07fa29ab48315f0f195fb45d854 (diff) |
[+] implemented the 'shell' UI, [~] Small corrections had to be made in the parser
Diffstat (limited to 'calculator-java/src/main/java/ch/bfh/CalculatorLexer.java')
-rw-r--r-- | calculator-java/src/main/java/ch/bfh/CalculatorLexer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |