aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 1f4ab7f8..0cdafb5a 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -765,6 +765,9 @@ function JSify(data, functionsOnly, givenFunctions) {
}
return pre + labelSetting + 'break ' + trueLabel + ';';
} else if (label[1] == 'C') { // CONT
+ if (label[2] == 'N') { // BCNOL: continue, no label setting
+ labelSetting = '';
+ }
return pre + labelSetting + 'continue ' + trueLabel + ';';
} else if (label[1] == 'N') { // NOPP
return pre + ';'; // Returning no text might confuse this parser