summaryrefslogtreecommitdiff
path: root/src/synthesis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/synthesis.cc')
-rw-r--r--src/synthesis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synthesis.cc b/src/synthesis.cc
index 09ce2389..a8ef43bb 100644
--- a/src/synthesis.cc
+++ b/src/synthesis.cc
@@ -2149,10 +2149,10 @@ LangTerm *LangStmt::chooseDefaultIter( Compiler *pd, LangTerm *fromVarRef ) cons
/* The parameters. */
ExprVect *callExprVect = new ExprVect;
LangExpr *callExpr = LangExpr::cons( LangTerm::cons(
- LangTerm::VarRefType, fromVarRef->varRef ) );
+ InputLoc(), LangTerm::VarRefType, fromVarRef->varRef ) );
callExprVect->append( callExpr );
- LangTerm *callLangTerm = LangTerm::cons( callVarRef, callExprVect );
+ LangTerm *callLangTerm = LangTerm::cons( InputLoc(), callVarRef, callExprVect );
return callLangTerm;
}