Skip to content

Blocks in macros #15

Description

@Calcilore

possibly like this:

#macro, 2
mov r1, $2 + 3
$1
#endmacro

mymacro {
umul r1, 4
add r1, 5
}, 6

which would expand to:

mov r1, 6 + 3

umul r1, 4
add r1, 5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions