fix(solc): bump solang (#861)
This commit is contained in:
parent
7e4e8e200a
commit
d08f3ed2d4
|
@ -3441,7 +3441,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "solang-parser"
|
||||
version = "0.1.1"
|
||||
source = "git+https://github.com/hyperledger-labs/solang#4ad9d87881460fe89f2c4a0f762511f8fa445849"
|
||||
source = "git+https://github.com/hyperledger-labs/solang#f3e8f6fcabab91c959833cf85e3f13d327b00e38"
|
||||
dependencies = [
|
||||
"lalrpop",
|
||||
"lalrpop-util",
|
||||
|
|
|
@ -518,7 +518,7 @@ fn parse_data(content: &str) -> SolData {
|
|||
let mut version = None;
|
||||
let mut imports = Vec::<SolDataUnit<PathBuf>>::new();
|
||||
match solang_parser::parse(content, 0) {
|
||||
Ok(units) => {
|
||||
Ok((units, _)) => {
|
||||
for unit in units.0 {
|
||||
match unit {
|
||||
SourceUnitPart::PragmaDirective(loc, _, pragma, value) => {
|
||||
|
|
Loading…
Reference in New Issue