diff options
author | Bas van Kervel <bas@ethdev.com> | 2016-02-19 19:06:58 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2016-02-19 19:55:31 +0800 |
commit | 6777531a2d3367ef3cee933d7a36945eecb37090 (patch) | |
tree | c07fe639278781727413c1d4cd340151959e3001 /Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go | |
parent | aa36a6ae4f24f07e2c470a21c93ff37ad5861982 (diff) | |
download | go-tangerine-6777531a2d3367ef3cee933d7a36945eecb37090.tar.gz go-tangerine-6777531a2d3367ef3cee933d7a36945eecb37090.tar.zst go-tangerine-6777531a2d3367ef3cee933d7a36945eecb37090.zip |
console: seed random number generator
Diffstat (limited to 'Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go b/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go index e758a5230..f1e002d39 100644 --- a/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go +++ b/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_parse.go @@ -82,6 +82,9 @@ func (cmpl *_compiler) parseExpression(in ast.Expression) _nodeExpression { identifier: in.Identifier.Name, } + case *ast.EmptyExpression: + return nil + case *ast.FunctionLiteral: name := "" if in.Name != nil { |