1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-05 09:28:54 +00:00

Allow processed/formatted array contents inside other array literals

This commit is contained in:
Karol Stasiak 2018-08-01 10:34:49 +02:00
parent bebb8c45a5
commit ffbed1ba26

View File

@ -147,7 +147,7 @@ abstract class MfParser[T](fileId: String, input: String, currentDirectory: Stri
def asmParamDefinition: P[ParameterDeclaration]
def arrayListElement: P[ArrayContents] = arrayStringContents | arrayLoopContents | arrayFileContents | mfExpression(nonStatementLevel).map(e => LiteralContents(List(e)))
def arrayListElement: P[ArrayContents] = arrayStringContents | arrayProcessedContents | arrayLoopContents | arrayFileContents | mfExpression(nonStatementLevel).map(e => LiteralContents(List(e)))
def arrayProcessedContents: P[ArrayContents] = for {
_ <- "@" ~/ HWS