diff options
Diffstat (limited to 'src/parse.cpp')
-rw-r--r-- | src/parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.cpp b/src/parse.cpp index ac232de..c7209aa 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -53,7 +53,7 @@ macDef(PEnv& penv, const AST* exp) for (; i != tup->end(); ++i) fnExp->push_back(*i); ATuple* ret = new ATuple(exp->loc); - ret->push_back(const_cast<AST*>(tup->front())); + ret->push_back(const_cast<AST*>(tup->head())); ret->push_back(const_cast<AST*>(name)); ret->push_back(fnExp); return ret; |