mirror of
https://github.com/KarolS/millfork.git
synced 2024-09-10 11:54:30 +00:00
Preprocesor should use current options
This commit is contained in:
parent
65f5c552b4
commit
a73e1eae1e
@ -41,7 +41,7 @@ object Preprocessor {
|
||||
def evalParam(param: String, pos: Some[Position]): Long = {
|
||||
new PreprocessorParser(options).expression.parse(param) match {
|
||||
case Success(q, _) =>
|
||||
val value = q.apply(platform.features).getOrElse(0L)
|
||||
val value = q.apply(options.features).getOrElse(0L)
|
||||
// log.trace(param + " ===> " + value)
|
||||
value
|
||||
case Failure(_, _, _) =>
|
||||
|
Loading…
Reference in New Issue
Block a user