aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.cpp')
-rw-r--r--src/parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.cpp b/src/parse.cpp
index a6af50c..a065e64 100644
--- a/src/parse.cpp
+++ b/src/parse.cpp
@@ -45,7 +45,7 @@ macDef(PEnv& penv, const SExp& exp)
argsExp.push_back(*j);
const SExp& body = *(++i);
SExp fnExp(body.loc);
- fnExp.push_back(SExp(body.loc, "fn"));
+ fnExp.push_back(SExp(body.loc, new AString(body.loc, "fn")));
fnExp.push_back(argsExp);
for (; i != exp.end(); ++i)
fnExp.push_back(*i);