Permalink
Browse files

Merge pull request #345 from mal/master

Don't bother save/restoring directives state
  • Loading branch information...
2 parents ec9d1be + 5ae3187 commit 37aed3a2964cabd4c9bf4f0750cf15242ec00731 @mishoo mishoo committed Mar 31, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/parse-js.js
View
@@ -968,12 +968,11 @@ function parse($TEXT, exigent_mode, embed_tokens) {
// body
(function(){
++S.in_function;
- var directives = S.in_directives, loop = S.in_loop;
+ var loop = S.in_loop;
S.in_directives = true;
S.in_loop = 0;
var a = block_();
--S.in_function;
- S.in_directives = directives;
S.in_loop = loop;
return a;
})());

0 comments on commit 37aed3a

Please sign in to comment.