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

Allow for "file" array specifier inside another array

This commit is contained in:
Karol Stasiak 2018-06-24 00:30:57 +02:00
parent 86ce4c75ad
commit 83e055a1d1

View File

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