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