mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-24 07:31:44 +00:00
Multiline value support in platform definition files
This commit is contained in:
parent
8fcf628c8f
commit
235700c44c
@ -4,6 +4,9 @@
|
||||
|
||||
Every platform is defined in an `.ini` file with an appropriate name.
|
||||
|
||||
As an extension, multiline entries are supported:
|
||||
if a line ends with a backslash character, the value continues to the next line.
|
||||
|
||||
#### `[compilation]` section
|
||||
|
||||
* `arch` – CPU architecture. It defines which instructions are available. Available values:
|
||||
|
@ -176,7 +176,7 @@ object Platform {
|
||||
}))
|
||||
|
||||
val os = conf.getSection("output")
|
||||
val outputPackager = SequenceOutput(os.get(classOf[String], "format", "").split("[, ]+").filter(_.nonEmpty).map {
|
||||
val outputPackager = SequenceOutput(os.get(classOf[String], "format", "").split("[, \n\t\r]+").filter(_.nonEmpty).map {
|
||||
case "startaddr" => StartAddressOutput
|
||||
case "startpage" => StartPageOutput
|
||||
case "endaddr" => EndAddressOutput
|
||||
|
Loading…
x
Reference in New Issue
Block a user