Skip to content

Commit

Permalink
ide; fixed missplaced break statement from 932ae84. also fixed unrela…
Browse files Browse the repository at this point in the history
…ted bad #line bug. closes #938.
  • Loading branch information
redj committed Jun 18, 2013
1 parent 8c187a7 commit 7eeb24a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions compiler/libec/src/output.ec
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ static void OutputStatement(Statement stmt, File f)
}
}
f.Puts(");\n");
outputLine++;
break;
}
}
Expand Down
4 changes: 3 additions & 1 deletion ide/src/debugger/Debugger.ec
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,10 @@ class Debugger
for(i : ide.workspace.breakpoints)
{
if(i.bp && i.line == stopItem.frame.line && !fstrcmp(i.absoluteFilePath, stopItem.frame.absoluteFile))
{
bp = i;
break;
break;
}
}
}
bpHit = bp;
Expand Down

0 comments on commit 7eeb24a

Please sign in to comment.