naddison36 / sol2uml

Solidity contract visualisation tool
MIT License
1.16k stars 275 forks source link

Fails to parse pragma solidity ^0.5; #3

Closed 0xferit closed 4 years ago

0xferit commented 5 years ago

If we omit patch number, it fails to parse.

So,

this works: pragma solidity ^0.5.7;

but this doesn't: pragma solidity ^0.5;

naddison36 commented 5 years ago

This is an issue with the dependent solidity-parser-antlr library https://github.com/federicobond/solidity-parser-antlr/issues/15

asaharinna commented 5 years ago

😂

naddison36 commented 4 years ago

I've finally fixed this issue by forking the dependant libraries. Once PRs https://github.com/ConsenSys/solidity-antlr4/pull/5 and https://github.com/ConsenSys/solidity-parser-antlr/pull/17 on the dependant packages have been merged, I'll change back to ConsenSys' solidity-parser-antlr package.