Allow multiple -D options

This commit is contained in:
Karol Stasiak 2022-02-08 13:21:26 +01:00
parent d23fe1756e
commit 7b205a2754
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ object Main {
} else {
errorReporting.fatal("Invalid syntax for -D option")
}
}.description("Define a feature value for the preprocessor.")
}.description("Define a feature value for the preprocessor.").maxCount(Integer.MAX_VALUE)
boolean("-finput_intel_syntax", "-finput_zilog_syntax").repeatable().action((c,v) =>
c.changeFlag(CompilationFlag.UseIntelSyntaxForInput, v)