Skip to content

Commit

Permalink
chore: add asm option to cli help (#3585)
Browse files Browse the repository at this point in the history
* Add `asm` option to CLI help
* Add missing `enum` in function docstring
  • Loading branch information
pcaversaccio authored Sep 5, 2023
1 parent 78fa8dd commit 8700e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/ast/pre_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def pre_parse(code: str) -> tuple[Settings, ModificationOffsets, str]:
Re-formats a vyper source string into a python source string and performs
some validation. More specifically,
* Translates "interface", "struct" and "event" keywords into python "class" keyword
* Translates "interface", "struct", "enum, and "event" keywords into python "class" keyword
* Validates "@version" pragma against current compiler version
* Prevents direct use of python "class" keyword
* Prevents use of python semi-colon statement separator
Expand Down
1 change: 1 addition & 0 deletions vyper/cli/vyper_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
opcodes_runtime - List of runtime opcodes as a string
ir - Intermediate representation in list format
ir_json - Intermediate representation in JSON format
asm - Output the EVM assembly of the deployable bytecode
hex-ir - Output IR and assembly constants in hex instead of decimal
"""

Expand Down

0 comments on commit 8700e6d

Please sign in to comment.