Closed getify closed 11 years ago
Currently, literalizer only treats a { } pair after a : as being a block if the : was from a statement label.
{ }
:
However:
switch (foo) { case 'bar': { blah(); } /b/g; }
Fails to identify the /b/g regex, because the { .. } before it is not seen as a block.
/b/g
{ .. }
Currently, literalizer only treats a
{ }
pair after a:
as being a block if the:
was from a statement label.However:
Fails to identify the
/b/g
regex, because the{ .. }
before it is not seen as a block.