jumps, try and definitions are statements too
This commit is contained in:
@@ -921,7 +921,7 @@ function OutputStream(options) {
|
||||
function first_in_statement(output) {
|
||||
var a = output.stack(), i = a.length, node = a[--i], p = a[--i];
|
||||
while (i > 0) {
|
||||
if (p instanceof AST_Statement)
|
||||
if (p instanceof AST_Statement && p.body === node)
|
||||
return true;
|
||||
if ((p instanceof AST_Seq && p.first === node ) ||
|
||||
(p instanceof AST_Call && p.expression === node ) ||
|
||||
|
||||
Reference in New Issue
Block a user