aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.cpp')
-rw-r--r--src/parse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.cpp b/src/parse.cpp
index d36a92a..9d26652 100644
--- a/src/parse.cpp
+++ b/src/parse.cpp
@@ -106,6 +106,7 @@ initLang(PEnv& penv, TEnv& tenv)
tenv.def(penv.sym("Bool"), make_pair((AST*)0, new AType(penv.sym("Bool"))));
tenv.def(penv.sym("Int"), make_pair((AST*)0, new AType(penv.sym("Int"))));
tenv.def(penv.sym("Float"), make_pair((AST*)0, new AType(penv.sym("Float"))));
+ tenv.def(penv.sym("String"), make_pair((AST*)0, new AType(penv.sym("String"))));
// Literals
static bool trueVal = true;