summaryrefslogtreecommitdiff
path: root/node/LiteralNode.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 21:34:58 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 21:34:58 +0800
commitcd1466f30c146e12faa0db7e1b53b508bf2274c6 (patch)
treed938d02d17bbf4949b0dc1d21dee861afe171bdc /node/LiteralNode.hh
parentf90115fba35887aea8d4064b57f4909cd6937134 (diff)
64 bit support
Diffstat (limited to 'node/LiteralNode.hh')
-rw-r--r--node/LiteralNode.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/LiteralNode.hh b/node/LiteralNode.hh
index 06f2989..f93c171 100644
--- a/node/LiteralNode.hh
+++ b/node/LiteralNode.hh
@@ -28,7 +28,7 @@ LiteralNode<T>::LiteralNode(Context* context, std::shared_ptr<Type> type,
using BooleanLiteralNode = LiteralNode<bool>;
using CharLiteralNode = LiteralNode<char>;
-using IntegerLiteralNode = LiteralNode<int>;
+using IntegerLiteralNode = LiteralNode<long long>;
using RealLiteralNode = LiteralNode<float>;
class StringLiteralNode : public ExprNode {