omit uninteresting block_scope tag
This commit is contained in:
parent
30395e40da
commit
bfb5f85ad3
|
|
@ -269,11 +269,9 @@ function run() {
|
|||
_class: "AST_" + value.TYPE
|
||||
};
|
||||
if (value.block_scope) {
|
||||
result.block_scope = {
|
||||
variables: value.block_scope.variables,
|
||||
functions: value.block_scope.functions,
|
||||
enclosed: value.block_scope.enclosed,
|
||||
};
|
||||
result.variables = value.block_scope.variables;
|
||||
result.functions = value.block_scope.functions;
|
||||
result.enclosed = value.block_scope.enclosed;
|
||||
}
|
||||
value.CTOR.PROPS.forEach(function(prop) {
|
||||
result[prop] = value[prop];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user