Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support assembly blocks #137

Open
jgardn3r opened this issue Feb 12, 2025 · 0 comments
Open

Support assembly blocks #137

jgardn3r opened this issue Feb 12, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jgardn3r
Copy link
Collaborator

At the moment, pasfmt vehemently ignores inline assembly blocks. It understands their structure well enough to parse them, but then ignores the block and all of its statements.

It is generally assumed that users format inline assembly in a way that makes it easiest for them to read. Given this, pasfmt formatting these blocks would counterproductive and undesirable. This is why it was decided to ignore assembly blocks altogether.

Inline assembly support might introduce features such as:

  • Token spacing
  • Indentation
  • Operand alignment

These features would be gated behind a user-facing setting, allowing users to opt in.

@jgardn3r jgardn3r added the enhancement New feature or request label Feb 12, 2025
@jgardn3r jgardn3r mentioned this issue Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant