Skip to content

Commit

Permalink
fix grammar to make sure FunctionDefinition is illegal before v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik committed Jul 28, 2023
1 parent 7c2602f commit ae479c0
Show file tree
Hide file tree
Showing 21 changed files with 845 additions and 51 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-trainers-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"changelog": patch
---

Fix grammar to make sure FunctionDefinition is illegal before v0.7.1.
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,36 @@
- reference: "StructDefinition"
- reference: "EnumDefinition"
- reference: "ConstantDefinition"
- reference: "FunctionDefinition"
- reference: "ErrorDefinition"
- reference: "ImportDirective"
- reference: "PragmaDirective"
- reference: "UsingDirective"
0.8.8:
0.7.1:
choice:
- reference: "ContractDefinition"
- reference: "LibraryDefinition"
- reference: "InterfaceDefinition"
- reference: "StructDefinition"
- reference: "EnumDefinition"
- reference: "ConstantDefinition"
- reference: "ErrorDefinition"
- reference: "ImportDirective"
- reference: "PragmaDirective"
- reference: "UsingDirective"
# added:
- reference: "FunctionDefinition"
0.8.8:
choice:
- reference: "ContractDefinition"
- reference: "LibraryDefinition"
- reference: "InterfaceDefinition"
- reference: "StructDefinition"
- reference: "EnumDefinition"
- reference: "ConstantDefinition"
- reference: "ErrorDefinition"
- reference: "ImportDirective"
- reference: "PragmaDirective"
- reference: "UsingDirective"
- reference: "FunctionDefinition"
# added:
- reference: "UserDefinedValueTypeDefinition"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 76 additions & 7 deletions crates/solidity/outputs/npm/crate/src/legacy/generated/parsers.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ae479c0

Please sign in to comment.