Skip to content

Commit

Permalink
Fix bug 568224 - handle "debugger" keyword in decompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes%helma.at committed Nov 24, 2010
1 parent e5c01f0 commit b8d4735
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/mozilla/javascript/Decompiler.java
Expand Up @@ -818,6 +818,10 @@ else if (nextToken == Token.NAME) {
result.append('@');
break;

case Token.DEBUGGER:
result.append("debugger;\n");
break;

default:
// If we don't know how to decompile it, raise an exception.
throw new RuntimeException("Token: " +
Expand Down

0 comments on commit b8d4735

Please sign in to comment.