1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-25 06:29:17 +00:00

Assume tabs are 4 spaces

This commit is contained in:
Karol Stasiak 2018-10-12 00:01:48 +02:00
parent 6b33cc49a8
commit ab267c88ac

View File

@ -121,7 +121,7 @@ object Preprocessor {
log.error("Invalid preprocessor directive: #" + keyword, pos) log.error("Invalid preprocessor directive: #" + keyword, pos)
} }
case _ => if (enabled) resulting = line case _ => if (enabled) resulting = line.replace("\t", " ")
} }
result += resulting result += resulting
} }