aboutsummaryrefslogtreecommitdiff
path: root/evaluator
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-03-25 10:20:37 +0200
committerDimitri Sokolyuk <demon@dim13.org>2018-03-25 10:20:37 +0200
commitf73ea0821fb378ba260630ba3c7ae02f7d9f8377 (patch)
treef050f34400014928a1db0ea16a33af290927154c /evaluator
parent99d08ce35ede2b5c75266240f20c4554060ddce0 (diff)
cleanup
Diffstat (limited to 'evaluator')
-rw-r--r--evaluator/quote_unquote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/evaluator/quote_unquote.go b/evaluator/quote_unquote.go
index b2c1824..960c9d3 100644
--- a/evaluator/quote_unquote.go
+++ b/evaluator/quote_unquote.go
@@ -46,7 +46,7 @@ func convertObjectToASTNode(obj object.Object) ast.Node {
switch obj := obj.(type) {
case *object.Integer:
t := token.Token{
- Type: token.INT,
+ Type: token.INTEGER,
Literal: fmt.Sprintf("%d", obj.Value),
}
return &ast.IntegerLiteral{Token: t, Value: obj.Value}