Browse Source

Merge pull request #4 from nwidger/patch-1

Add DebuggerStatement to compiler.compileStatement
dop251 9 years ago
parent
commit
12baf85443
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler_stmt.go

+ 1 - 0
compiler_stmt.go

@@ -49,6 +49,7 @@ func (c *compiler) compileStatement(v ast.Statement, needResult bool) {
 		}
 	case *ast.WithStatement:
 		c.compileWithStatement(v, needResult)
+	case *ast.DebuggerStatement:
 	default:
 		panic(fmt.Errorf("Unknown statement type: %T", v))
 	}