fix for parser

This commit is contained in:
InsanusMokrassar 2020-10-10 22:17:48 +06:00
parent 66e75b4315
commit 1431c0cda2

View File

@ -26,8 +26,8 @@ private fun createSimpleScheduler(from: String, dataRange: IntRange): Array<Byte
val stepNum = step.toInt().clamp(dataRange)
(startNum .. dataRange.last step stepNum).map { it }
}
it == "*" -> return null
else -> listOf(it.toInt().clamp(dataRange))
currentToken == "*" -> return null
else -> listOf(currentToken.toInt().clamp(dataRange))
}
}