diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-02-13 12:22:45 -0500 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-02-13 12:22:45 -0500 |
| commit | 0c3270b408116d3a8d2f1558acb4222eaa808e7b (patch) | |
| tree | 72a22696f1136ed04ef62a05f632f6e959508abd /dice-lang/src/bjc/dicelang/v2/Token.java | |
| parent | c8bec56ce8bd384b31ab6025ba7d31c3dfb1b874 (diff) | |
Flexadecimals are cool, as are longs
Diffstat (limited to 'dice-lang/src/bjc/dicelang/v2/Token.java')
| -rw-r--r-- | dice-lang/src/bjc/dicelang/v2/Token.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dice-lang/src/bjc/dicelang/v2/Token.java b/dice-lang/src/bjc/dicelang/v2/Token.java index e5fce00..9825dae 100644 --- a/dice-lang/src/bjc/dicelang/v2/Token.java +++ b/dice-lang/src/bjc/dicelang/v2/Token.java @@ -26,7 +26,7 @@ public class Token { // At most one of these is valid // based on the token type - public int intValue; + public long intValue; public double floatValue; public DiceBox.DieExpression diceValue; @@ -34,7 +34,7 @@ public class Token { type = typ; } - public Token(Type typ, int val) { + public Token(Type typ, long val) { this(typ); intValue = val; |
