diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-12 13:04:25 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-12 13:04:25 -0800 |
commit | 8c7af64f1a7326d09be50671574676c21941be2e (patch) | |
tree | 7f0ef20bee83b48b21704e5f59c99e8676b4d5ed /src | |
parent | 1bc86fdeb8bd7a8cb73e076276b36ff5d5a9e497 (diff) |
remove broken assertion, should fix #682
Diffstat (limited to 'src')
-rw-r--r-- | src/parseTools.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index e76d23be..6a10176c 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -847,7 +847,6 @@ function indentify(text, indent) { // Correction tools function correctSpecificSign() { - assert(!(CORRECT_SIGNS >= 2 && !Debugging.on), 'Need debugging for line-specific corrections'); if (!Framework.currItem) return false; if (Framework.currItem.funcData.ident.indexOf('emscripten_autodebug') >= 0) return 1; // always correct in the autodebugger code! return (CORRECT_SIGNS === 2 && Debugging.getIdentifier() in CORRECT_SIGNS_LINES) || @@ -858,7 +857,6 @@ function correctSigns() { } function correctSpecificOverflow() { - assert(!(CORRECT_OVERFLOWS >= 2 && !Debugging.on), 'Need debugging for line-specific corrections'); if (!Framework.currItem) return false; return (CORRECT_OVERFLOWS === 2 && Debugging.getIdentifier() in CORRECT_OVERFLOWS_LINES) || (CORRECT_OVERFLOWS === 3 && !(Debugging.getIdentifier() in CORRECT_OVERFLOWS_LINES)); @@ -868,7 +866,6 @@ function correctOverflows() { } function correctSpecificRounding() { - assert(!(CORRECT_ROUNDINGS >= 2 && !Debugging.on), 'Need debugging for line-specific corrections'); if (!Framework.currItem) return false; return (CORRECT_ROUNDINGS === 2 && Debugging.getIdentifier() in CORRECT_ROUNDINGS_LINES) || (CORRECT_ROUNDINGS === 3 && !(Debugging.getIdentifier() in CORRECT_ROUNDINGS_LINES)); |