mirror of
https://github.com/mcanlas/6502-opcodes.git
synced 2025-02-07 07:30:39 +00:00
newline after subroutine description
This commit is contained in:
parent
c7f3b2c607
commit
93ac6e5f13
@ -17,6 +17,7 @@
|
||||
|
||||
labeled:
|
||||
; This is a subroutine description
|
||||
|
||||
lda $00
|
||||
lda $01 ; instruction comment
|
||||
|
||||
|
@ -33,9 +33,9 @@ object AsmBlock:
|
||||
List(label + ":") ++ oComment.map(toComment).map(withIndent).toList
|
||||
|
||||
val intentParagraphs =
|
||||
interFlatMap(intents)(List(""), Intent.toLines)
|
||||
intents.map(Intent.toLines)
|
||||
|
||||
headerParagraph ::: intentParagraphs
|
||||
interFlatMap(headerParagraph :: intentParagraphs)(List(""), identity)
|
||||
|
||||
case AnonymousCodeBlock(intents) =>
|
||||
interFlatMap(intents)(List(""), Intent.toLines)
|
||||
|
Loading…
x
Reference in New Issue
Block a user