Skip to content
Snippets Groups Projects
Commit 81bdf764 authored by Philippe Suter's avatar Philippe Suter
Browse files

die, typo

parent 5e9af327
No related branches found
No related tags found
No related merge requests found
...@@ -293,7 +293,7 @@ trait CodeExtraction extends Extractors { ...@@ -293,7 +293,7 @@ trait CodeExtraction extends Extractors {
case ExGreaterEqThan(l, r) => GreaterEquals(rec(l), rec(r)) case ExGreaterEqThan(l, r) => GreaterEquals(rec(l), rec(r))
case ExLessThan(l, r) => LessThan(rec(l), rec(r)) case ExLessThan(l, r) => LessThan(rec(l), rec(r))
case ExLessEqThan(l, r) => LessEquals(rec(l), rec(r)) case ExLessEqThan(l, r) => LessEquals(rec(l), rec(r))
case ExIfThenElse(t1,t2,t3) => println("if indeed"); IfExpr(rec(t1), rec(t2), rec(t3)) case ExIfThenElse(t1,t2,t3) => IfExpr(rec(t1), rec(t2), rec(t3))
case ExLocalCall(sy,nm,ar) => { case ExLocalCall(sy,nm,ar) => {
if(defsToDefs.keysIterator.find(_ == sy).isEmpty) { if(defsToDefs.keysIterator.find(_ == sy).isEmpty) {
unit.error(tr.pos, "Invoking an invalid function.") unit.error(tr.pos, "Invoking an invalid function.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment