Skip to content

Commit

Permalink
Merge commit '8d10d965ff4b55aabc460fc7e3719fa7cf387744' into sanctuar…
Browse files Browse the repository at this point in the history
…y-fixes
  • Loading branch information
Xanewok committed Mar 8, 2024
2 parents 93c5dc3 + 8d10d96 commit daf9289
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/solidity/inputs/language/src/definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2699,6 +2699,7 @@ codegen_language_macros::compile!(Language(
EnumVariant(reference = ExternalKeyword),
EnumVariant(reference = PrivateKeyword),
EnumVariant(reference = PublicKeyword),
EnumVariant(reference = ConstantKeyword, enabled = Till("0.5.0")),
EnumVariant(reference = PureKeyword, enabled = From("0.4.16")),
EnumVariant(reference = ViewKeyword, enabled = From("0.4.16")),
EnumVariant(reference = PayableKeyword)
Expand Down

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.

1 change: 1 addition & 0 deletions crates/solidity/outputs/spec/generated/grammar.ebnf

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.

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This file is generated automatically by infrastructure scripts. Please don't edit by hand.

Source: >
1 │ function () constant internal returns (uint) │ 0..44
Errors: []

Tree:
- (FunctionType): # "function () constant internal returns (uint)\n" (0..45)
- (function_keyword꞉ FunctionKeyword): "function" # (0..8)
- (parameters꞉ ParametersDeclaration): # " ()" (8..11)
- (leading_trivia꞉ Whitespace): " " # (8..9)
- (open_paren꞉ OpenParen): "(" # (9..10)
- (parameters꞉ Parameters): [] # (10..10)
- (close_paren꞉ CloseParen): ")" # (10..11)
- (attributes꞉ FunctionTypeAttributes): # " constant internal" (11..29)
- (item꞉ FunctionTypeAttribute): # " constant" (11..20)
- (leading_trivia꞉ Whitespace): " " # (11..12)
- (variant꞉ ConstantKeyword): "constant" # (12..20)
- (item꞉ FunctionTypeAttribute): # " internal" (20..29)
- (leading_trivia꞉ Whitespace): " " # (20..21)
- (variant꞉ InternalKeyword): "internal" # (21..29)
- (returns꞉ ReturnsDeclaration): # " returns (uint)\n" (29..45)
- (leading_trivia꞉ Whitespace): " " # (29..30)
- (returns_keyword꞉ ReturnsKeyword): "returns" # (30..37)
- (variables꞉ ParametersDeclaration): # " (uint)\n" (37..45)
- (leading_trivia꞉ Whitespace): " " # (37..38)
- (open_paren꞉ OpenParen): "(" # (38..39)
- (parameters꞉ Parameters): # "uint" (39..43)
- (item꞉ Parameter) ► (type_name꞉ TypeName) ► (variant꞉ ElementaryType) ► (variant꞉ UintKeyword): "uint" # (39..43)
- (close_paren꞉ CloseParen): ")" # (43..44)
- (trailing_trivia꞉ EndOfLine): "\n" # (44..45)

0 comments on commit daf9289

Please sign in to comment.