aboutsummaryrefslogtreecommitdiff
path: root/sloth/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sloth/src/main.rs')
-rw-r--r--sloth/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/sloth/src/main.rs b/sloth/src/main.rs
index ff3df31..3112e28 100644
--- a/sloth/src/main.rs
+++ b/sloth/src/main.rs
@@ -48,6 +48,7 @@ fn main() {
global_symtable.insert("Int".into(), Symbol::Type(Type::Integer));
global_symtable.insert("Float".into(), Symbol::Type(Type::Float));
global_symtable.insert("Bool".into(), Symbol::Type(Type::Boolean));
+ global_symtable.insert("String".into(), Symbol::Type(Type::String));
// Inputs aren't type checked but outputs are
let dummyi = Symbol::Value(ValueSymbol {