Improve parser for name section (#298)
Improve parser for name section (#298)

* Improve parser for name section

the calculation of the largest possible index of locals was not taking
compressed locals (`count > 1`) into account.

Related to https://github.com/paritytech/parity-wasm/issues/271

* Fix spacing

* Sum, not max
NikVolf/parity-wasm,NikVolf/parity-wasm