diff options
Diffstat (limited to 'src/simplify.cpp')
-rw-r--r-- | src/simplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplify.cpp b/src/simplify.cpp index ea83cff..2085ad9 100644 --- a/src/simplify.cpp +++ b/src/simplify.cpp @@ -103,7 +103,7 @@ simplify_match(CEnv& cenv, const ATuple* match) throw() for (ATuple::const_iterator j = pat->iter_at(1); j != pat->end(); ++j, ++ti, ++idx) { const AST* index = new ALiteral<int32_t>(T_INT32, idx, Cursor()); const AST* dot = tup(Cursor(), cenv.penv.sym("."), osym, index, 0); - const AST* def = tup(Cursor(), cenv.penv.sym("def"), *j, dot); + const AST* def = tup(Cursor(), cenv.penv.sym("def"), *j, dot, 0); fn.push_back(def); } |