ConsenSysMesh / solidity-parser

Solidity Parser in Javascript
138 stars 54 forks source link

missing location info in some nodes #92

Closed duaraghav8 closed 6 years ago

duaraghav8 commented 7 years ago

location info start & end attributes are missing from several nodes. This can break things. These 2 fields (along with type) are supposed to be mandatory for all nodes in AST.

See fix here: https://github.com/duaraghav8/solparse/commit/d018ab06433a94489953469d8685e5550c9d2b96