duaraghav8 / solparse

Solidity Parser for Solium
https://www.npmjs.com/package/solparse
29 stars 15 forks source link

var (a, b..) not parsed when inside loop statement #22

Open duaraghav8 opened 6 years ago

duaraghav8 commented 6 years ago

for (var (a, b, c) = (1, 2, 3); a < 10; (a, b, c) = (2, 3, 5)) {} is accepted in solidity but solparse doesn't parse

something like var (dnstype,,) is also not parsed inside loop