mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-14 15:26:52 -04:00
fixed a type cast bug in the test data parser
This commit is contained in:
parent
8e5df41c06
commit
058824530c
@ -169,7 +169,7 @@ public class Parser {
|
|||||||
break;
|
break;
|
||||||
case OPEN:
|
case OPEN:
|
||||||
exp = parseExpression();
|
exp = parseExpression();
|
||||||
line.add((vals, context) -> vals.add(new Value((int) exp.value(context))));
|
line.add((vals, context) -> vals.add(new Value(exp.value(context))));
|
||||||
expect(Tokenizer.Token.CLOSE);
|
expect(Tokenizer.Token.CLOSE);
|
||||||
break;
|
break;
|
||||||
case EOF:
|
case EOF:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user