klauspost/asmfmt

Weird indentation for nasm macros

RechieKho opened this issue · 1 comments

Here is what I got after asmfmt my nasm file :

    %macro FINISH 0 
    pusha
    call something 
    jc %%success
    call error
%%success:
    popa
    %endmacro

It is enclosed in a header guard.

This is for Go (plan 9) assembly. It may or may not work on other formats and may need some manual tweaks