aboutsummaryrefslogtreecommitdiff
path: root/evaluator/quote_unquote.go
diff options
context:
space:
mode:
Diffstat (limited to 'evaluator/quote_unquote.go')
-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}